Improve build process

Source is now automatically zipped up and put on the webserver's beta/
directory. Protip: don't remove AMOKEYS from .gitignore.
This commit is contained in:
Oliver Blanthorn 2018-04-20 21:21:37 +01:00
parent 8edc9205dc
commit 7b1000f9d3
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
AMOKEYS
build build
node_modules node_modules
src/excmds_background.ts src/excmds_background.ts

View file

@ -19,6 +19,7 @@ publish_stable() {
npm run clean npm run clean
npm run build npm run build
sign_and_submit sign_and_submit
tar --exclude-from=.gitignore --exclude=.git/* -czf ../public_html/betas/tridactyl_source.tar.gz .
} }
case $1 in case $1 in