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"