1
0
Fork 0
mirror of https://github.com/google/nomulus.git synced 2025-08-16 14:34:05 +02:00
google-nomulus/java-format
Michael Muller 08c704ee52 Pass --java-binary to _all_ formatter invocations ()
* Pass --java-binary to _all_ formatter invocations

When implementing a flag to pass in the java binary to
google-java-format-diff.py, I missed the location in showNoncompliantFiles
which gets run before a check.

This change also refactors the core logic of the script so that
google-java-format-diff.py is only called from one place and (in all but one
case) only one time.

Tested:
Ran check format and show, with and without diffs present in the tree.
2021-03-22 13:35:51 -04:00
..
google-java-format-1.8-all-deps.jar Enable Java 11 features () 2020-08-03 16:08:29 -04:00
google-java-format-diff.py Print out env variables in java format () 2021-03-10 08:55:14 -05:00
google-java-format-git-diff.sh Pass --java-binary to _all_ formatter invocations () 2021-03-22 13:35:51 -04:00