Authored by 陈峰

docker.sh

... ... @@ -2,10 +2,14 @@
wordir=$2
cd $wordir
rm -rf yoho-yohobuy-wap.tar.gz
if [[ $1 == "TEST1" ]] || [[ $1 == "TEST2" ]] || [[ $1 == "TEST3" ]];then
yarn
yarn build
else
npm i --production
if [[ $1 == "test1" ]] || [[ $1 == "test2" ]] || [[ $1 == "test3" ]]
then
yarn build
fi
node-prune
tar -czf yoho-yohobuy-wap.tar.gz *
... ...