Skip to content

Commit 557bae5

Browse files
Improve Makefile
1 parent 0a5c8d9 commit 557bae5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ lint: lint-custom $(GOLANGCI_LINT) #HELP Run golangci linter.
9999
$(GOLANGCI_LINT) run --build-tags $(GO_BUILD_TAGS) $(GOLANGCI_LINT_ARGS)
100100

101101
.PHONY: custom-linter-build
102-
custom-linter-build:
102+
custom-linter-build: #HELP Build custom linter
103103
cd ./hack/ci/custom-linters/cmd/ && go build -tags '$(GO_BUILD_TAGS)' -o ../../../../bin/custom-linter
104104

105-
.PHONY: lint-custom
105+
.PHONY: lint-custom #HELP Call custom linter for the project
106106
lint-custom: custom-linter-build
107-
CGO_ENABLED=1 go vet -vettool=./bin/custom-linter ./...
107+
go vet -tags=$(GO_BUILD_TAGS) -vettool=./bin/custom-linter ./...
108108

109109
.PHONY: tidy
110110
tidy: #HELP Update dependencies.

0 commit comments

Comments
 (0)