Create deploy script for Windows (#62)

This commit is contained in:
Irvin Steve Cardenas 2021-06-19 14:23:02 -04:00 committed by GitHub
parent 9f65bcf325
commit a34b05af8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

13
js/deploy-web.bat Normal file
View File

@ -0,0 +1,13 @@
ECHO "Starting to deploy 'web', bootstrapping..."
yarn bootstrap
ECHO "Preparing 'common'..."
CD packages\common
yarn prepare
yarn build-css
CD ..\web
ECHO "Prestarting 'web'..."
yarn prestart
ECHO "Building 'web'..."
# TODO: fix linting errors!
SET CI=false && yarn build
ECHO "#done"