Skip to content
Snippets Groups Projects
Commit 46b43ebe authored by Julien Barbot's avatar Julien Barbot Committed by Joffrey F
Browse files

Update path of golint

parent b36cb27a
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ to clean-up build results. ...@@ -66,7 +66,7 @@ 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 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` install with `go get -u golang.org/x/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:
......
...@@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ...@@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
sshfs \ sshfs \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN go get github.com/golang/lint/golint \ RUN go get golang.org/x/lint/golint \
github.com/mattn/goveralls \ github.com/mattn/goveralls \
golang.org/x/tools/cover golang.org/x/tools/cover
......
...@@ -16,5 +16,5 @@ vet: ...@@ -16,5 +16,5 @@ vet:
lint: lint:
$(if $(GOLINT), , \ $(if $(GOLINT), , \
$(error Please install golint: go get -u github.com/golang/lint/golint)) $(error Please install golint: go get -u golang.org/x/lint/golint))
@test -z "$$($(GOLINT) ./... 2>&1 | grep -v vendor/ | grep -v "cli/" | grep -v "amazonec2/" |grep -v "openstack/" |grep -v "softlayer/" | grep -v "should have comment" | tee /dev/stderr)" @test -z "$$($(GOLINT) ./... 2>&1 | grep -v vendor/ | grep -v "cli/" | grep -v "amazonec2/" |grep -v "openstack/" |grep -v "softlayer/" | grep -v "should have comment" | tee /dev/stderr)"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment