added packer and build script
This commit is contained in:
15
build.sh
Normal file
15
build.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
mkdir build
|
||||
cd main-web/client
|
||||
npm run build
|
||||
cd ../../
|
||||
mv main-web/client/client build/
|
||||
cd tools/janken
|
||||
npm run build
|
||||
cd ../../
|
||||
mv tools/janken/tool build
|
||||
cd main-web/server
|
||||
npm run build
|
||||
cd ../../
|
||||
mv main-web/server/build server/
|
||||
tar czf build.tar.gz build/
|
||||
rm -rf build/
|
||||
Reference in New Issue
Block a user