File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,12 +87,11 @@ for module in "${!module_files[@]}"; do
8787 (cd " $module " && \
8888 echo " Current directory: $( pwd) " && \
8989 echo " Checking file existence:" && \
90- ls -l src/main/java/com/tinyengine/it/common/utils/testCheckstyle.java 2> /dev/null || echo " ⚠️ testCheckstyle.java not found" && \
91- ls -l src/main/java/com/tinyengine/it/test/SampleViolations.java 2> /dev/null || echo " ⚠️ SampleViolations.java not found" && \
90+ ls -l $file_list 2> /dev/null || echo " ⚠️ not found" && \
9291 mvn checkstyle:check \
9392 -Dcheckstyle.config.location=" $PROJECT_ROOT /checkstyle/huawei-checkstyle.xml" \
9493 -Dcheckstyle.violationSeverity=warning \
95- -Dcheckstyle.includes=" src/main/java/com/tinyengine/it/common/utils/testCheckstyle.java,src/main/java/com/tinyengine/it/test/SampleViolations.java" )
94+ -Dcheckstyle.includes=" $( pwd ) / src/main/java/com/tinyengine/it/common/utils/testCheckstyle.java,src/main/java/com/tinyengine/it/test/SampleViolations.java" )
9695 mvn_exit=$?
9796 if [ $mvn_exit -ne 0 ]; then
9897 echo " ⚠️ 模块 $module 的 Checkstyle 检查失败(但继续)"
You can’t perform that action at this time.
0 commit comments