mirror of https://github.com/docker/docs.git
Merge pull request #2387 from jeanlaurent/contributing
Fix #2178 - add `go get lint` to contributing guide
This commit is contained in:
commit
5de73f28d4
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue