add build.sh

master
paulGao 2022-05-10 15:57:30 +08:00
parent cbb2365ae8
commit 8a2ec77c84
1 changed files with 20 additions and 0 deletions

20
build.sh Normal file
View File

@ -0,0 +1,20 @@
#代码目录
code_path=$PWD
git checkout master
git pull
cd ${code_path}/manager
rm -rf ./dist
yarn install
yarn build
cd ${code_path}/seller
rm -rf ./dist
yarn install
yarn build
cd ${code_path}/buyer
rm -rf ./dist
yarn install
yarn build