File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,14 @@ LINT_LOWER_OS = $(shell echo $(LINT_OS) | tr '[:upper:]' '[:lower:]')
2121GOLINT_CONFIG = $(LINT_ROOT ) /.golangci.yml
2222YAMLLINT_ROOT = out/linters/yamllint-$(YAMLLINT_VERSION )
2323
24+ .PHONY : lint
2425lint : out/linters/shellcheck-$(SHELLCHECK_VERSION ) -$(LINT_ARCH ) /shellcheck out/linters/hadolint-$(HADOLINT_VERSION ) -$(LINT_ARCH ) out/linters/golangci-lint-$(GOLINT_VERSION ) -$(LINT_ARCH ) $(YAMLLINT_ROOT ) /bin/yamllint
2526 out/linters/golangci-lint-$(GOLINT_VERSION ) -$(LINT_ARCH ) run
2627 out/linters/hadolint-$(HADOLINT_VERSION ) -$(LINT_ARCH ) $(shell find . -name "* Dockerfile")
2728 out/linters/shellcheck-$(SHELLCHECK_VERSION ) -$(LINT_ARCH ) /shellcheck $(shell find . -name "* .sh")
2829 PYTHONPATH=$(YAMLLINT_ROOT ) /lib $(YAMLLINT_ROOT ) /bin/yamllint .
2930
31+ .PHONY : fix
3032fix : out/linters/shellcheck-$(SHELLCHECK_VERSION ) -$(LINT_ARCH ) /shellcheck out/linters/golangci-lint-$(GOLINT_VERSION ) -$(LINT_ARCH )
3133 out/linters/golangci-lint-$(GOLINT_VERSION ) -$(LINT_ARCH ) run --fix
3234 out/linters/shellcheck-$(SHELLCHECK_VERSION ) -$(LINT_ARCH ) /shellcheck $(shell find . -name "* .sh") -f diff | git apply -p2 -
You can’t perform that action at this time.
0 commit comments