From bc9fccb6d00d231817a38db2e92ea20b70942994 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Mon, 25 Apr 2022 19:55:08 +0800 Subject: [PATCH] wms8-demo --- wms8-demo/deploy.sh | 36 +++--------------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/wms8-demo/deploy.sh b/wms8-demo/deploy.sh index cf8e5d3..5f1d57c 100644 --- a/wms8-demo/deploy.sh +++ b/wms8-demo/deploy.sh @@ -85,25 +85,10 @@ buildCode() { echo "yvan-ext 文件未变化" fi - # 构建 yvan-ext-mobile - 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 + # 构建 client if [ "${needBuild[0]}" != "0" ]; then - echo -e "$echoPrefix cd $codePath/wms-biz/bundle $echoSuffix" - cd "$codePath/wms-biz/bundle" + echo -e "$echoPrefix cd $codePath/client $echoSuffix" + cd "$codePath/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 $echoSuffix" @@ -115,21 +100,6 @@ buildCode() { echo "wms-biz/bundle 文件未变化" 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 echo -e "$echoPrefix cd $codePath $echoSuffix" cd $codePath