lizw 3 éve
szülő
commit
bc9fccb6d0
1 módosított fájl, 3 hozzáadás és 33 törlés
  1. 3 33
      wms8-demo/deploy.sh

+ 3 - 33
wms8-demo/deploy.sh

@@ -85,25 +85,10 @@ buildCode() {
     echo "yvan-ext 文件未变化"
   fi
 
-  # 构建 yvan-ext-mobile
-  if [ "${needBuild[4]}" != "0" ]; then
-    echo -e "$echoPrefix cd $codePath/yvan-ext-mobile $echoSuffix"
-    cd "$codePath/yvan-ext-mobile"
-    echo -e "$echoPrefix yarn $echoSuffix"
-    /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn
-    echo -e "$echoPrefix yarn link $echoSuffix"
-    /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn link
-    echo -e "$echoPrefix yarn build $echoSuffix"
-    /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn build
-    echo ""
-  else
-    echo "yvan-ext-mobile 文件未变化"
-  fi
-
-  # 构建 wms-biz/bundle
+  # 构建 client
   if [ "${needBuild[0]}" != "0" ]; then
-    echo -e "$echoPrefix cd $codePath/wms-biz/bundle $echoSuffix"
-    cd "$codePath/wms-biz/bundle"
+    echo -e "$echoPrefix cd $codePath/client $echoSuffix"
+    cd "$codePath/client"
     echo -e "$echoPrefix yarn $echoSuffix"
     /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn
     echo -e "$echoPrefix yarn link yvan-ext $echoSuffix"
@@ -115,21 +100,6 @@ 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"
-    /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn
-    echo -e "$echoPrefix yarn link yvan-ext-mobile $echoSuffix"
-    /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn link yvan-ext-mobile
-    echo -e "$echoPrefix yarn build $echoSuffix"
-    /home/dev/node-v12.20.0-linux-x64/bin/node_modules/.bin/yarn build
-    echo ""
-  else
-    echo "wms-biz/pda-client 文件未变化"
-  fi
-
   # 构建 java
   echo -e "$echoPrefix cd $codePath $echoSuffix"
   cd $codePath