Browse Source

10wms86-test.sh

master
lizw 2 years ago
parent
commit
522ff82aab
  1. 50
      hua_wei_yun/10wms86-test.sh

50
hua_wei_yun/10wms86-test.sh

@ -73,31 +73,31 @@ pullCode() {
}
buildCode() {
# 构建 yvan-ui
if [ "${needBuild[0]}" != "0" ]; then
echo -e "$echoPrefix cd $codePath/yvan-ui $echoSuffix"
cd "$codePath/yvan-ui"
echo -e "$echoPrefix yarn run init $echoSuffix"
yarn run init
# echo -e "$echoPrefix yarn run dev2 $echoSuffix"
# yarn run dev2
echo ""
else
echo "yvan-ui 文件未变化"
fi
# 构建 wms-ui
if [ "${needBuild[0]}" != "0" ]; then
echo -e "$echoPrefix cd $codePath/wms-ui $echoSuffix"
cd "$codePath/wms-ui"
echo -e "$echoPrefix yarn $echoSuffix"
yarn
echo -e "$echoPrefix yarn link yvan-ui $echoSuffix"
yarn link yvan-ui
echo ""
else
echo "yvan-ui 文件未变化"
fi
# # 构建 yvan-ui
# if [ "${needBuild[0]}" != "0" ]; then
# echo -e "$echoPrefix cd $codePath/yvan-ui $echoSuffix"
# cd "$codePath/yvan-ui"
# echo -e "$echoPrefix yarn run init $echoSuffix"
# yarn run init
# # echo -e "$echoPrefix yarn run dev2 $echoSuffix"
# # yarn run dev2
# echo ""
# else
# echo "yvan-ui 文件未变化"
# fi
#
# # 构建 wms-ui
# if [ "${needBuild[0]}" != "0" ]; then
# echo -e "$echoPrefix cd $codePath/wms-ui $echoSuffix"
# cd "$codePath/wms-ui"
# echo -e "$echoPrefix yarn $echoSuffix"
# yarn
# echo -e "$echoPrefix yarn link yvan-ui $echoSuffix"
# yarn link yvan-ui
# echo ""
# else
# echo "yvan-ui 文件未变化"
# fi
# 构建 java
echo -e "$echoPrefix cd $codePath $echoSuffix"

Loading…
Cancel
Save