Kaynağa Gözat

大参林 服务构建

lizw 3 yıl önce
ebeveyn
işleme
8ea7cee3a9
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      dsl/build.sh

+ 2 - 2
dsl/build.sh

@@ -30,7 +30,7 @@ echoSuffix="\033[0m"
 
 buildCode() {
   # 构建 yvan-ext
-  if [ "${needBuild[3]}" != "0" ]; then
+  if [ "${needBuild[1]}" != "0" ]; then
     echo -e "$echoPrefix cd $codePath/yvan-ext $echoSuffix"
     cd "$codePath/yvan-ext"
     echo -e "$echoPrefix yarn $echoSuffix"
@@ -45,7 +45,7 @@ buildCode() {
   fi
 
   # 构建 thinkingwms-ui/client
-  if [ "${needBuild[1]}" != "0" ]; then
+  if [ "${needBuild[2]}" != "0" ]; then
     echo -e "$echoPrefix cd $codePath/thinkingwms-ui/client $echoSuffix"
     cd "$codePath/thinkingwms-ui/client"
     echo -e "$echoPrefix yarn $echoSuffix"