diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,5 @@ .PHONY: test -test: git-validation unit-test +test: git-validation shellcheck unit-test .PHONY: unit-test unit-test: @@ -13,3 +13,11 @@ ifeq (, $(shell which git-validation 2> /dev/null)) else @git-validation -q -range da5b6722c940..HEAD -travis-pr-only=false endif + +.PHONY: shellcheck +shellcheck: +ifeq (, $(shell which shellcheck 2> /dev/null)) + @echo "You don't have 'shellcheck' installed, consider installing it (see the CONTRIBUTING.org file)." +else + @shellcheck g.sh +endif |
