From 7b09481c820d31e5430ff83ca4ef360e187eaa31 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Fri, 5 Aug 2022 10:17:30 +0800 Subject: [PATCH] 04hua_an_tang/01wms8-test.sh --- 04hua_an_tang/01wms8-test.sh | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/04hua_an_tang/01wms8-test.sh b/04hua_an_tang/01wms8-test.sh index b4b6612..3b7aa76 100644 --- a/04hua_an_tang/01wms8-test.sh +++ b/04hua_an_tang/01wms8-test.sh @@ -83,20 +83,20 @@ 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" -# yarn -# echo -e "$echoPrefix yarn link yvan-ext-mobile $echoSuffix" -# yarn link yvan-ext-mobile -# echo -e "$echoPrefix yarn build $echoSuffix" -# yarn build -# echo "" -# else -# echo "wms-biz/pda-client 文件未变化" -# 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" + yarn + echo -e "$echoPrefix yarn link yvan-ext-mobile $echoSuffix" + yarn link yvan-ext-mobile + echo -e "$echoPrefix yarn build $echoSuffix" + yarn build + echo "" + else + echo "wms-biz/pda-client 文件未变化" + fi # 构建 java echo -e "$echoPrefix cd $codePath $echoSuffix"