Skip to content

Commit a30046d

Browse files
chore: update CONTRIBUTING.md to include code formatting (#90)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/0ba8d2f8-7f35-417b-8c9a-d829ca01eac0/targets Source-Link: googleapis/synthtool@5b48b07
1 parent fe5a04f commit a30046d

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-logging-logback.git",
7-
"sha": "d05f957952bec095fb1ebc9aa768eca3a8be3260"
7+
"sha": "fe5a04f3c4f0c09b7ec9bb9f5f8e5efb3afee3c1"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c"
14+
"sha": "5b48b0716a36ca069db3038da7e205c87a22ed19"
1515
}
1616
}
1717
]

0 commit comments

Comments
 (0)