diff --git a/00base/01yvan-ext.sh b/00base/01yvan-ext.sh index 06c0c93..87d1f17 100644 --- a/00base/01yvan-ext.sh +++ b/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] diff --git a/00base/02yvan-ext-mobile.sh b/00base/02yvan-ext-mobile.sh index 1a63e62..dff6a9a 100644 --- a/00base/02yvan-ext-mobile.sh +++ b/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]