diff --git a/makefile b/makefile index 1446454..d669c75 100644 --- a/makefile +++ b/makefile @@ -2,13 +2,13 @@ .SILENT: .PHONY: all \ audit \ + bashate \ + funk \ lint \ safety \ + shellcheck \ shfmt \ - bashate \ - funk \ slick \ - shellcheck \ snyk \ unmake \ yamllint @@ -17,39 +17,46 @@ all: lint audit: safety snyk +bashate: + stank -exInterp zsh . | \ + grep -v .sample | \ + xargs -n 1 bashate -i E006 + +funk: + funk . + +lint: \ + bashate \ + funk \ + shellcheck \ + shfmt \ + slick \ + unmake \ + yamllint + safety: safety check -snyk: - snyk test +shellcheck: + stank -exInterp zsh . | \ + grep -v .sample | \ + xargs -n 1 shellcheck shfmt: stank -exInterp zsh . | \ grep -v .sample | \ xargs -n 1 shfmt -w -i 4 -bashate: - stank . | \ - grep -v .sample | \ - xargs -n 1 bashate -i E006 - -funk: - funk . - slick: stank -sh . | \ grep -v .sample | \ xargs -n 1 slick -shellcheck: - stank -exInterp zsh . | \ - grep -v .sample | \ - xargs -n 1 shellcheck +snyk: + snyk test unmake: unmake . yamllint: yamllint -s .yamllint . - -lint: shfmt funk slick shellcheck unmake yamllint