Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit 9f071d0

Browse files
docs: update CONTRIBUTING.md to include code formatting (#534) (#273)
Co-authored-by: Jeff Ching <chingor@google.com> Co-authored-by: Jeffrey Rennie <rennie@google.com> Source-Author: Brian Chen <chenbrian@google.com> Source-Date: Tue May 12 10:24:59 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 5b48b0716a36ca069db3038da7e205c87a22ed19 Source-Link: googleapis/synthtool@5b48b07
1 parent b1c827f commit 9f071d0

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,16 @@ mvn -Penable-samples clean verify
9999
```
100100

101101
2. [Activate](#profile-activation) the profile.
102-
3. Define your samples in a normal Maven project in the `samples/` directory
102+
3. Define your samples in a normal Maven project in the `samples/` directory.
103+
104+
### Code Formatting
105+
106+
Code in this repo is formatted with
107+
[google-java-format](https://github.com/google/google-java-format).
108+
To run formatting on your project, you can run:
109+
```
110+
mvn com.coveo:fmt-maven-plugin:format
111+
```
103112

104113
### Profile Activation
105114

synth.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"git": {
5151
"name": "synthtool",
5252
"remote": "https://github.com/googleapis/synthtool.git",
53-
"sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c"
53+
"sha": "5b48b0716a36ca069db3038da7e205c87a22ed19"
5454
}
5555
}
5656
],

0 commit comments

Comments
 (0)