Browse Source

wms8-demo

master
lizw 4 years ago
parent
commit
bc9fccb6d0
  1. 36
      wms8-demo/deploy.sh

36
wms8-demo/deploy.sh

@ -85,25 +85,10 @@ buildCode() {
echo "yvan-ext 文件未变化" echo "yvan-ext 文件未变化"
fi fi
# 构建 yvan-ext-mobile # 构建 client
if [ "${needBuild[4]}" != "0" ]; then
echo -e "$echoPrefix cd $codePath/yvan-ext-mobile $echoSuffix"
cd "$codePath/yvan-ext-mobile"
echo -e "$echoPrefix yarn $echoSuffix"
/home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn
echo -e "$echoPrefix yarn link $echoSuffix"
/home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn link
echo -e "$echoPrefix yarn build $echoSuffix"
/home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn build
echo ""
else
echo "yvan-ext-mobile 文件未变化"
fi
# 构建 wms-biz/bundle
if [ "${needBuild[0]}" != "0" ]; then if [ "${needBuild[0]}" != "0" ]; then
echo -e "$echoPrefix cd $codePath/wms-biz/bundle $echoSuffix" echo -e "$echoPrefix cd $codePath/client $echoSuffix"
cd "$codePath/wms-biz/bundle" cd "$codePath/client"
echo -e "$echoPrefix yarn $echoSuffix" echo -e "$echoPrefix yarn $echoSuffix"
/home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn
echo -e "$echoPrefix yarn link yvan-ext $echoSuffix" echo -e "$echoPrefix yarn link yvan-ext $echoSuffix"
@ -115,21 +100,6 @@ buildCode() {
echo "wms-biz/bundle 文件未变化" echo "wms-biz/bundle 文件未变化"
fi fi
# 构建 wms-biz/pda-client
if [ "${needBuild[0]}" != "0" ]; then
echo -e "$echoPrefix cd $codePath/wms-biz/pda-client $echoSuffix"
cd "$codePath/wms-biz/pda-client"
echo -e "$echoPrefix yarn $echoSuffix"
/home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn
echo -e "$echoPrefix yarn link yvan-ext-mobile $echoSuffix"
/home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn link yvan-ext-mobile
echo -e "$echoPrefix yarn build $echoSuffix"
/home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn build
echo ""
else
echo "wms-biz/pda-client 文件未变化"
fi
# 构建 java # 构建 java
echo -e "$echoPrefix cd $codePath $echoSuffix" echo -e "$echoPrefix cd $codePath $echoSuffix"
cd $codePath cd $codePath

Loading…
Cancel
Save