added packer and build script

This commit is contained in:
2020-08-01 15:31:07 +09:00
parent b442e33405
commit c72aefcaa9
49 changed files with 306 additions and 3 deletions

15
build.sh Normal file
View 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/