diff --git a/Makefile b/Makefile index 361d4365fd3..e8a97e32518 100644 --- a/Makefile +++ b/Makefile @@ -162,7 +162,7 @@ fmt: ## Run go fmt against code. $(GOFMT) -l -w -s $$(git ls-files --exclude-standard | grep "\.go$$" | grep -v $(GENERATED_CLIENT_PKG)) .PHONY: vet -vet: ## Run go vet against code. +vet: test-go-generate ## Run go vet against code. GOOS=$(GOOS) $(GO) vet -mod=mod ./... .PHONY: cue-fmt diff --git a/hack/license/header-check.sh b/hack/license/header-check.sh index 8a058ee98a6..d3e6144e10d 100755 --- a/hack/license/header-check.sh +++ b/hack/license/header-check.sh @@ -24,7 +24,7 @@ set -e -o pipefail # Initialize vars ERR=false FAIL=false -EXCLUDES_DIRS="vendor/\|apis/\|tools/\|externalapis/\|pkg/lorry/component/\|pkg/cli/cmd/plugin/download\|pkg\/common" +EXCLUDES_DIRS="vendor/\|apis/\|tools/\|externalapis/\|pkg/lorry/engines/\|pkg/lorry/util/\|pkg/cli/cmd/plugin/download\|pkg\/common" APACHE2_DIRS="apis/\|externalapis/" for file in $(git ls-files | grep '\.cue\|\.go$' | grep -v ${EXCLUDES_DIRS}); do