File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8787if [ $NUM_JAVA_FILES_CHANGED -gt 0 ]
8888then
8989 echo_status " Running Java linter..."
90- bazel build --disk_cache=" $BAZEL_CACHE_DIR " //:google_java_format_verification
90+ bazel --batch build --disk_cache=" $BAZEL_CACHE_DIR " //:google_java_format_verification
9191 FORMAT_STATUS=$?
9292 if [ $FORMAT_STATUS != 0 ]
9393 then
100100if [ $NUM_JAVA_FILES_CHANGED -gt 0 ] || [ $NUM_BAZEL_FILES_CHANGED -gt 0 ]
101101then
102102 echo_status " Checking the build..."
103- bazel build --disk_cache=" $BAZEL_CACHE_DIR " //...
103+ bazel --batch build --disk_cache=" $BAZEL_CACHE_DIR " //...
104104 BUILD_STATUS=$?
105105 if [ $BUILD_STATUS != 0 ]
106106 then
112112if [ $NUM_JAVA_FILES_CHANGED -gt 0 ]
113113then
114114 echo_status " Checking tests..."
115- bazel test --disk_cache=" $BAZEL_CACHE_DIR " //...
115+ bazel --batch test --disk_cache=" $BAZEL_CACHE_DIR " //...
116116 TEST_STATUS=$?
117117 if [ $TEST_STATUS != 0 ]
118118 then
You can’t perform that action at this time.
0 commit comments