diff --git a/Makefile b/Makefile index e55e8bcbf2b..fbfcc33d652 100644 --- a/Makefile +++ b/Makefile @@ -585,6 +585,18 @@ lint: check-generated ltag -t ./hack/ltag --check -v protolint . +.PHONY: lint-local +lint-local: + golangci-lint run ./... + yamllint . + ls-lint + find . -name '*.sh' ! -path "./.git/*" | xargs shellcheck + find . -name '*.sh' ! -path "./.git/*" | xargs shfmt -s -d + go-licenses check --include_tests ./... --allowed_licenses=$$(cat ./hack/allowed-licenses.txt) + ltag -t ./hack/ltag --check -v + protolint . + + .PHONY: clean clean: rm -rf _output vendor @@ -708,4 +720,4 @@ MKDIR_TARGETS += _artifacts # This target must be placed after any changes to the `MKDIR_TARGETS` variable. # It seems that variable expansion in Makefile targets is not done recursively. $(MKDIR_TARGETS): - mkdir -p $@ + mkdir -p $@ \ No newline at end of file