Skip to content

Feature/load from GitHub #174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Apr 2, 2020
Prev Previous commit
Next Next commit
create build script
  • Loading branch information
ShMcK committed Apr 2, 2020
commit 3be6199e47a2273a4972bffa38d921b6a4c9fae1
20 changes: 20 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

echo "Building Extension..."

# remove build directory
echo "Cleaning up previous build..."
rm -rf build

# build extension
echo "Compiling..."
tsc -p ./

# build web app
cd web-app
npm run build
cd ..
cp -R ./web-app/build/ ./build/
node scripts/fixFontPaths.js

echo "Build complete!"