diff --git a/hua_wei_yun/04wms-ztf-test.sh b/hua_wei_yun/04wms-ztf-test.sh index a66ef37..10dc0b4 100644 --- a/hua_wei_yun/04wms-ztf-test.sh +++ b/hua_wei_yun/04wms-ztf-test.sh @@ -5,21 +5,29 @@ set -e codePath=/home/www/deploy/wms8_ztf_2 gitUrlArr=( "http://git.yvanui.com/jztd/wms.git" + "http://git.yvanui.com/jztd/wms-ui-pc.git" + "http://git.yvanui.com/jztd/wms-ui-mobile.git" "http://git.yvanui.com/lizhiwei/yvan-framework.git" ) branchArr=( "master" + "master" + "master" "8.4" ) positionArr=( "." + "wms-ui-pc" + "wms-ui-mobile" "yvan-framework" ) # 是否需要构建,-1:自动;0:不需要;1:需要 needBuild=( "1" "1" +"1" +"1" ) echoPrefix="\033[36m+" @@ -66,36 +74,6 @@ pullCode() { } buildCode() { - # 构建 wms-biz/bundle - if [ "${needBuild[0]}" != "0" ]; then - echo -e "$echoPrefix cd $codePath/wms-biz/bundle $echoSuffix" - cd "$codePath/wms-biz/bundle" - echo -e "$echoPrefix yarn $echoSuffix" - yarn - echo -e "$echoPrefix yarn link yvan-ext $echoSuffix" - yarn link yvan-ext - echo -e "$echoPrefix yarn build $echoSuffix" - yarn build - echo "" - else - 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 - # 构建 java echo -e "$echoPrefix cd $codePath $echoSuffix" cd $codePath