From 603706db48a461e1803b6b39a620599c39890b02 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 31 Mar 2019 09:42:01 -0400 Subject: Add 'lint' target to run shellcheck --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ead232a..d93e7ab 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,9 @@ man/%: man/%.txt Makefile check: $(BINPROGS) @for f in $(BINPROGS); do bash -O extglob -n $$f; done +lint: $(BINPROGS) + @for f in $(BINPROGS); do shellcheck $$f; done + clean: $(RM) $(BINPROGS) $(MANPAGES) -- cgit v1.2.3-70-g09d2