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:
parent
284c72448d
commit
f3c6d9e7cc
7
Makefile
7
Makefile
|
@ -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 ./...
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue