Repository navigation
Conversation
|
@jbduncan Oh, indeed, I missed it. And thanks for letting me know. |
|
You're very welcome! :) |
|
And still waiting for an reply from the Google guys. The jitpack solution is a good work-around, though. :) |
|
Interestingly, the buildifier tool, that is another Google's open source tool for formatting of Blaze and Bazel files, offers the |
| "", | ||
| "Options:", | ||
| " -n, --dry-run", | ||
| " Don't change anything, only check; supposed to be used form the CI.", |
|
Actually, different check modes are needed: Example for this approach could be seen in Tensorflow's |
8bba939 to
e22b66d
Compare
Fixes: google#105. Test Plan: $ git show --name-only HEAD | grep java$ | xargs -r gjf --dry-run Need Formatting: [gerrit-common/src/main/java/com/google/gerrit/common/IoUtil.java,\ gerrit-server/src/main/java/com/google/gerrit/server/account/Emails.java]
|
#106 has been merged. |
Fixes: #105.
Test Plan:
$ git show --name-only HEAD | grep java$ | xargs -r gjf --dry-run
Need Formatting:
[gerrit-common/src/main/java/com/google/gerrit/common/IoUtil.java,
gerrit-server/src/main/java/com/google/gerrit/server/account/Emails.java]