build: cmd/vet is deprecated fix the url.

This commit is contained in:
Harshavardhana
2016-04-06 20:07:57 -07:00
parent c11527780a
commit 3e8f7684f2
2 changed files with 7 additions and 4 deletions
+7 -3
View File
@@ -9,12 +9,12 @@ checks:
getdeps: checks
@go get github.com/golang/lint/golint && echo "Installed golint:"
@go get golang.org/x/tools/cmd/vet && echo "Installed vet:"
@go get github.com/fzipp/gocyclo && echo "Installed gocyclo:"
@go get github.com/remyoudompheng/go-misc/deadcode && echo "Installed deadcode:"
@go get github.com/client9/misspell/cmd/misspell && echo "Installed misspell:"
# verifiers: getdeps vet fmt lint cyclo deadcode
verifiers: getdeps vet fmt lint cyclo deadcode
verifiers: vet fmt lint cyclo deadcode spelling
vet:
@echo "Running $@:"
@@ -23,6 +23,10 @@ vet:
@GO15VENDOREXPERIMENT=1 go tool vet -shadow=true *.go
@GO15VENDOREXPERIMENT=1 go tool vet -shadow=true ./pkg
spelling:
@GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/misspell *.go
@GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/misspell pkg/**/*
fmt:
@echo "Running $@:"
@GO15VENDOREXPERIMENT=1 gofmt -s -l *.go
@@ -41,7 +45,7 @@ deadcode:
@echo "Running $@:"
@GO15VENDOREXPERIMENT=1 $(GOPATH)/bin/deadcode
build: verifiers
build: getdeps verifiers
@echo "Installing mc:"
test: verifiers
-1
View File
@@ -20,7 +20,6 @@ install:
- go version
- go env
- go get -u github.com/golang/lint/golint
- go get -u golang.org/x/tools/cmd/vet
- go get -u github.com/fzipp/gocyclo
- go get -u github.com/remyoudompheng/go-misc/deadcode
- go get -u github.com/client9/misspell/cmd/misspell