aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-05-09 14:04:47 -0700
committerEric Biggers <ebiggers@google.com>2020-05-09 14:04:47 -0700
commitd6cc933ff1722ca3229aadd8878fe77ba5d05575 (patch)
tree96b12b67acf9e0819393a6bd97e5e0c36eb9efb8 /Makefile
parent3619eed4515cf51161cfa7c57be4f330cd07e377 (diff)
Wire up shellcheck of cli-tests/*.sh to 'make lint'
Enforce that all the cli-test scripts pass 'shellcheck'.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6e2eda2..54c381d 100644
--- a/Makefile
+++ b/Makefile
@@ -110,6 +110,7 @@ lint: $(BIN)/golint $(BIN)/staticcheck $(BIN)/misspell
go list ./... | xargs -L1 golint -set_exit_status
staticcheck ./...
misspell -source=text $(FILES)
+ ( cd cli-tests && shellcheck -x *.sh)
clean:
rm -f $(BIN)/$(NAME) $(PAM_MODULE) $(TOOLS) coverage.out $(COVERAGE_FILES) $(PAM_CONFIG)