Skip to content

allow running gjf as test #140

Closed
Closed

Description

@hanwen

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.

Activity

  1. sormuras commented on Mar 21, 2017

    @sormuras
    Contributor

    Duplicate of #105 (with PR #106)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions