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
9647c9dc46
commit
79701fbf6d
|
@ -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 a new issue