We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a5c8d9 commit 557bae5Copy full SHA for 557bae5
Makefile
@@ -99,12 +99,12 @@ lint: lint-custom $(GOLANGCI_LINT) #HELP Run golangci linter.
99
$(GOLANGCI_LINT) run --build-tags $(GO_BUILD_TAGS) $(GOLANGCI_LINT_ARGS)
100
101
.PHONY: custom-linter-build
102
-custom-linter-build:
+custom-linter-build: #HELP Build custom linter
103
cd ./hack/ci/custom-linters/cmd/ && go build -tags '$(GO_BUILD_TAGS)' -o ../../../../bin/custom-linter
104
105
-.PHONY: lint-custom
+.PHONY: lint-custom #HELP Call custom linter for the project
106
lint-custom: custom-linter-build
107
- CGO_ENABLED=1 go vet -vettool=./bin/custom-linter ./...
+ go vet -tags=$(GO_BUILD_TAGS) -vettool=./bin/custom-linter ./...
108
109
.PHONY: tidy
110
tidy: #HELP Update dependencies.
0 commit comments