Fix the build by removing go get for vet

golang.org/x/tools/cmd/vet has been removed as it is available in go cmd directly

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel 2016-04-07 09:36:08 -07:00
parent 284c72448d
commit f3c6d9e7cc
1 changed files with 2 additions and 5 deletions

View File

@ -20,10 +20,7 @@ endif
static: static:
CGO_ENABLED=1 go build -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT}" -o runc . CGO_ENABLED=1 go build -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT}" -o runc .
vet: lint:
go get golang.org/x/tools/cmd/vet
lint: vet
go vet ./... go vet ./...
go fmt ./... go fmt ./...
@ -53,7 +50,7 @@ clean:
rm -f runc rm -f runc
rm -f $(RUNC_LINK) rm -f $(RUNC_LINK)
validate: vet validate:
script/validate-gofmt script/validate-gofmt
go vet ./... go vet ./...