Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit 6e06ae7

Browse files
docs: update CONTRIBUTING.md to include code formatting (#534)
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 7b7e334 commit 6e06ae7

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

CONTRIBUTING.md

+10-1
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

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "aed11c01e52921613b9ee469c2d85f5f33175fb7",
15-
"internalRef": "310660461"
14+
"sha": "edd3b80fb770548d6ad780105f1782de6ff73ea0",
15+
"internalRef": "311053644"
1616
}
1717
},
1818
{
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c"
22+
"sha": "5b48b0716a36ca069db3038da7e205c87a22ed19"
2323
}
2424
}
2525
],

0 commit comments

Comments
 (0)