Explorar o código

01yvan-ext.sh
02yvan-ext-mobile.sh

lizw %!s(int64=3) %!d(string=hai) anos
pai
achega
96d8599b71
Modificáronse 2 ficheiros con 6 adicións e 2 borrados
  1. 3 1
      00base/01yvan-ext.sh
  2. 3 1
      00base/02yvan-ext-mobile.sh

+ 3 - 1
00base/01yvan-ext.sh

@@ -92,8 +92,10 @@ cmd=$1
 if [ "$cmd" == "deploy" ];then
   deployPull
   buildCode
+elif [ "$cmd" == "pull" ];then
+  deployPull
 else
-  echo "输入操作参数: deploy"
+  echo "输入操作参数: pull deploy"
 fi
 
 # bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/00base/01yvan-ext.sh) [cmd]

+ 3 - 1
00base/02yvan-ext-mobile.sh

@@ -92,8 +92,10 @@ cmd=$1
 if [ "$cmd" == "deploy" ];then
   deployPull
   buildCode
+elif [ "$cmd" == "pull" ];then
+  deployPull
 else
-  echo "输入操作参数: deploy"
+  echo "输入操作参数: pull deploy"
 fi
 
 # bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/00base/02yvan-ext-mobile.sh) [cmd]