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() { buildCode() {
# 构建 yvan-ui # # 构建 yvan-ui
if [ "${needBuild[0]}" != "0" ]; then # if [ "${needBuild[0]}" != "0" ]; then
echo -e "$echoPrefix cd $codePath/yvan-ui $echoSuffix" # echo -e "$echoPrefix cd $codePath/yvan-ui $echoSuffix"
cd "$codePath/yvan-ui" # cd "$codePath/yvan-ui"
echo -e "$echoPrefix yarn run init $echoSuffix" # echo -e "$echoPrefix yarn run init $echoSuffix"
yarn run init # yarn run init
# echo -e "$echoPrefix yarn run dev2 $echoSuffix" # # echo -e "$echoPrefix yarn run dev2 $echoSuffix"
# yarn run dev2 # # yarn run dev2
echo "" # echo ""
else # else
echo "yvan-ui 文件未变化" # echo "yvan-ui 文件未变化"
fi # fi
#
# 构建 wms-ui # # 构建 wms-ui
if [ "${needBuild[0]}" != "0" ]; then # if [ "${needBuild[0]}" != "0" ]; then
echo -e "$echoPrefix cd $codePath/wms-ui $echoSuffix" # echo -e "$echoPrefix cd $codePath/wms-ui $echoSuffix"
cd "$codePath/wms-ui" # cd "$codePath/wms-ui"
echo -e "$echoPrefix yarn $echoSuffix" # echo -e "$echoPrefix yarn $echoSuffix"
yarn # yarn
echo -e "$echoPrefix yarn link yvan-ui $echoSuffix" # echo -e "$echoPrefix yarn link yvan-ui $echoSuffix"
yarn link yvan-ui # yarn link yvan-ui
echo "" # echo ""
else # else
echo "yvan-ui 文件未变化" # echo "yvan-ui 文件未变化"
fi # fi
# 构建 java # 构建 java
echo -e "$echoPrefix cd $codePath $echoSuffix" echo -e "$echoPrefix cd $codePath $echoSuffix"

Loading…
Cancel
Save