File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -2261,6 +2261,7 @@ def idea(*args)
2261
2261
end
2262
2262
2263
2263
def command_format ( changed_java_files = nil )
2264
+ STDERR . puts bold '$ jt format'
2264
2265
ENV [ 'ECLIPSE_EXE' ] ||= install_eclipse
2265
2266
if changed_java_files . is_a? ( Array )
2266
2267
File . write ( 'mxbuild/javafilelist.txt' , changed_java_files . join ( "\n " ) )
@@ -2649,25 +2650,23 @@ def lint(*args)
2649
2650
# Lint
2650
2651
rubocop if changed [ '.rb' ]
2651
2652
sh 'tool/lint.sh' if changed [ '.c' ]
2652
- if fast
2653
- checkstyle ( changed [ '.java' ] ) if changed [ '.java' ]
2654
- command_format ( changed [ '.java' ] ) if changed [ '.java' ] # includes #format_specializations_check
2655
- else
2656
- mx 'gate' , '--tags' , 'style' # mx eclipseformat, mx checkstyle and a few more checks
2657
- format_specializations_check
2658
- end
2653
+ checkstyle ( changed [ '.java' ] ) if changed [ '.java' ]
2654
+ command_format ( changed [ '.java' ] ) if changed [ '.java' ]
2659
2655
shellcheck if changed [ '.sh' ] or changed [ '.inc' ]
2660
2656
2661
2657
mx 'verify-ci' if changed [ '.py' ]
2662
2658
2663
2659
unless fast
2660
+ mx 'gate' , '--tags' , 'style' # mx eclipseformat, mx checkstyle and a few more checks
2661
+
2664
2662
check_core_symbols
2665
2663
check_parser
2666
2664
check_options
2667
- check_source_files if ci?
2668
2665
check_documentation
2669
2666
check_documentation_urls
2670
2667
check_license
2668
+
2669
+ check_source_files if ci?
2671
2670
end
2672
2671
end
2673
2672
You can’t perform that action at this time.
0 commit comments