Skip to content

allow running gjf as test #140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hanwen opened this issue Mar 21, 2017 · 1 comment
Closed

allow running gjf as test #140

hanwen opened this issue Mar 21, 2017 · 1 comment

Comments

@hanwen
Copy link

hanwen commented Mar 21, 2017

it would be great if GJF could be run in a --test mode, where exit status 1 means: file was reformatted.

Background: I'm trying to write a Bazel rule that checks that the Gerrit source code is well-formatted, and this would slightly simplify my life.

@sormuras
Copy link
Contributor

Duplicate of #105 (with PR #106)

@cushon cushon closed this as completed Oct 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants