!14 add build.sh

Merge pull request !14 from OceansDeep/dev-gl
master
OceansDeep 2022-05-10 07:58:11 +00:00 committed by Gitee
commit c1331e8ccf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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