diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2020-03-18 15:26:55 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2020-03-18 15:26:55 +0100 |
| commit | c074c0d51a6e3c7924a2ddea3ea418729564a252 (patch) | |
| tree | 4303ec17a2a534c5c78ebd089307ca444800f15d /Makefile | |
| parent | ecdc723c96e0a92fdda3a754edb0302cdc2de9eb (diff) | |
| download | g-c074c0d51a6e3c7924a2ddea3ea418729564a252.tar.gz g-c074c0d51a6e3c7924a2ddea3ea418729564a252.zip | |
Bringing shellcheck into the mix
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
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 |
