Merge pull request #2387 from jeanlaurent/contributing

Fix #2178 - add `go get lint` to contributing guide
This commit is contained in:
David Gageot 2015-11-23 14:25:26 +01:00
commit 5de73f28d4
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,8 @@ You may call:
to clean-up build results. to clean-up build results.
## Tests and validation ## Tests and validation
We use the usual `go` tools for this, to run those commands you need at least the linter which you can
install with `go get -u github.com/golang/lint/golint`
To run basic validation (dco, fmt), and the project unit tests, call: To run basic validation (dco, fmt), and the project unit tests, call:
@ -65,6 +67,7 @@ If you want more indepth validation (vet, lint), and all tests with race detecti
$ make validate $ make validate
If you make a pull request, it is highly encouraged that you submit tests for If you make a pull request, it is highly encouraged that you submit tests for
the code that you have added or modified in the same pull request. the code that you have added or modified in the same pull request.