From f3c6d9e7cc9afaa3920395fbefb5855f2f8b13b1 Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Thu, 7 Apr 2016 09:36:08 -0700 Subject: [PATCH] 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 --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 405ff29d..daa8bc7b 100644 --- a/Makefile +++ b/Makefile @@ -20,10 +20,7 @@ endif static: CGO_ENABLED=1 go build -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT}" -o runc . -vet: - go get golang.org/x/tools/cmd/vet - -lint: vet +lint: go vet ./... go fmt ./... @@ -53,7 +50,7 @@ clean: rm -f runc rm -f $(RUNC_LINK) -validate: vet +validate: script/validate-gofmt go vet ./...