forked from TrueCloudLab/restic
Document gofmt version
This commit is contained in:
parent
4cbc7c4467
commit
9c6e0c6eb9
1 changed files with 5 additions and 4 deletions
|
@ -141,10 +141,11 @@ run
|
||||||
|
|
||||||
gofmt -w **/*.go
|
gofmt -w **/*.go
|
||||||
|
|
||||||
in the project root directory before committing. Installing the script
|
in the project root directory before committing. For each Pull Request, the
|
||||||
`fmt-check` from https://github.com/edsrzf/gofmt-git-hook locally as a
|
formatting is tested with `gofmt` for the latest stable version of Go.
|
||||||
pre-commit hook checks formatting before committing automatically, just copy
|
Installing the script `fmt-check` from https://github.com/edsrzf/gofmt-git-hook
|
||||||
this script to `.git/hooks/pre-commit`.
|
locally as a pre-commit hook checks formatting before committing automatically,
|
||||||
|
just copy this script to `.git/hooks/pre-commit`.
|
||||||
|
|
||||||
For each pull request, several different systems run the integration tests on
|
For each pull request, several different systems run the integration tests on
|
||||||
Linux, OS X and Windows. We won't merge any code that does not pass all tests
|
Linux, OS X and Windows. We won't merge any code that does not pass all tests
|
||||||
|
|
Loading…
Reference in a new issue