Ver código fonte

14yvan-workbench-app.sh

lizw 4 meses atrás
pai
commit
7833929667
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      hua_wei_yun/14yvan-workbench-app.sh

+ 3 - 2
hua_wei_yun/14yvan-workbench-app.sh

@@ -112,8 +112,9 @@ buildCode() {
   # 构建 java
   echo -e "$echoPrefix cd $codePath $echoSuffix"
   cd $codePath
-  echo -e "$echoPrefix gradle build -x test $echoSuffix"
-  gradle build -x test
+  chmod +x gradlew
+  echo -e "$echoPrefix ./gradlew build -x test $echoSuffix"
+  ./gradlew build -x test
   echo ""
 }