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

Commit d3def27

Browse files
authored
docs: update CONTRIBUTING.md to include code formatting (#534) (#159)
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 13f3bb7 commit d3def27

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"git": {
1212
"name": ".",
1313
"remote": "https://github.com/googleapis/java-bigquerydatatransfer.git",
14-
"sha": "9a9017d961a6ac906c2c45b171135c355df520c6"
14+
"sha": "b1df5ee6fe227b156ed203842bc33810991f0892"
1515
}
1616
},
1717
{
@@ -26,7 +26,7 @@
2626
"git": {
2727
"name": "synthtool",
2828
"remote": "https://github.com/googleapis/synthtool.git",
29-
"sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c"
29+
"sha": "5b48b0716a36ca069db3038da7e205c87a22ed19"
3030
}
3131
}
3232
],

0 commit comments

Comments
 (0)