mirror of https://github.com/kubernetes/kops.git
Makefile: keep go vet simple
We can now go vet all our packages, go vet excludes vendor since 1.9, and the clientset is go-vet safe now.
This commit is contained in:
parent
621fcb6bb7
commit
2c0420312b
4
Makefile
4
Makefile
|
|
@ -40,8 +40,6 @@ BAZELUPLOAD=$(BAZELBUILD)/upload
|
|||
UID:=$(shell id -u)
|
||||
GID:=$(shell id -g)
|
||||
TESTABLE_PACKAGES:=$(shell egrep -v "k8s.io/kops/vendor" hack/.packages)
|
||||
# We need to ignore clientsets because of kubernetes/kubernetes#60584
|
||||
GOVETABLE_PACKAGES:=$(shell egrep -v "k8s.io/kops/vendor|clientset/fake" hack/.packages)
|
||||
BAZEL_OPTIONS?=
|
||||
API_OPTIONS?=
|
||||
GCFLAGS?=
|
||||
|
|
@ -516,7 +514,7 @@ verify-goimports:
|
|||
|
||||
.PHONY: govet
|
||||
govet: ${BINDATA_TARGETS}
|
||||
go vet ${GOVETABLE_PACKAGES}
|
||||
go vet ./...
|
||||
|
||||
# --------------------------------------------------
|
||||
# Continuous integration targets
|
||||
|
|
|
|||
Loading…
Reference in New Issue