diff --git a/Makefile b/Makefile index b9d5b73c51e..880069e43c4 100644 --- a/Makefile +++ b/Makefile @@ -89,12 +89,16 @@ check-setup: check: check-setup lint tidy check-static -check-static: +check-fmt: @ # Not running vet and fmt through metalinter becauase it ends up looking at vendor @echo "gofmt checking" gofmt -s -l -w $(FILES) 2>&1| $(FAIL_ON_STDOUT) + +check-vet: @echo "go vet check" @GO111MODULE=on go vet -all $$($(PACKAGE_LIST)) 2>&1 + +check-static: check-fmt check-vet check-spell @echo "mispell and ineffassign checking" CGO_ENABLED=0 retool do gometalinter.v2 --disable-all \ --enable misspell \