diff --git a/Makefile b/Makefile index 319c6f1b7..c4709f713 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,10 @@ check-gen: ## check for updated autogenerated files @(! git diff --name-only | grep '_gen.go$$') || (echo "Non-committed changes in auto-generated code is detected, please commit them to proceed." && false) lint: getdeps ## runs golangci-lint suite of linters + @echo "Running $@ check" + @$(GOLANGCI) run --build-tags kqueue --timeout=10m --config ./.golangci.yml + +lint-fix: getdeps ## runs golangci-lint suite of linters with automatic fixes @echo "Running $@ check" @$(GOLANGCI) run --build-tags kqueue --timeout=10m --config ./.golangci.yml --fix