Skip to content

Commit

Permalink
docs: update CONTRIBUTING.md to include code formatting (#534)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Ching <chingor@google.com>
Co-authored-by: Jeffrey Rennie <rennie@google.com>
  • Loading branch information
3 people authored May 12, 2020
1 parent a7759f8 commit 5b48b07
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion synthtool/gcp/templates/java_library/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,16 @@ mvn -Penable-samples clean verify
```

2. [Activate](#profile-activation) the profile.
3. Define your samples in a normal Maven project in the `samples/` directory
3. Define your samples in a normal Maven project in the `samples/` directory.

### Code Formatting

Code in this repo is formatted with
[google-java-format](https://github.com/google/google-java-format).
To run formatting on your project, you can run:
```
mvn com.coveo:fmt-maven-plugin:format
```

### Profile Activation

Expand Down

0 comments on commit 5b48b07

Please sign in to comment.