mirror of https://github.com/status-im/consul.git
golang.org/x/tools/cmd/vet is obsolete after Go1.5
`go tool vet` is builtin starting with Go 1.5
This commit is contained in:
parent
65aa46838e
commit
e59509227c
|
@ -35,9 +35,6 @@ format:
|
|||
@go fmt $(PACKAGES)
|
||||
|
||||
vet:
|
||||
@go tool vet 2>/dev/null ; if [ $$? -eq 3 ]; then \
|
||||
go get golang.org/x/tools/cmd/vet; \
|
||||
fi
|
||||
@echo "--> Running go tool vet $(VETARGS) ."
|
||||
@go list ./... \
|
||||
| grep -v ^github.com/hashicorp/consul/vendor/ \
|
||||
|
|
Loading…
Reference in New Issue