aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucid One <LucidOne@users.noreply.github.com>2018-03-07 11:09:52 -0500
committerTad Fisher <tadfisher@gmail.com>2018-03-07 11:08:39 -0800
commit8c37628a5d50e1a01fd7c97ba0aa80a39c972638 (patch)
tree0075530c43549b08d7009f363500f241e5957744
parent20232a9ecd5f4909f0965b3abc1f80a70671076e (diff)
Enable `make lint` for test/setup.sh
-rw-r--r--Makefile1
-rw-r--r--test/Makefile5
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a9c1c55..402dc39 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,7 @@ uninstall:
lint:
shellcheck -s bash $(PROG).bash
+ $(MAKE) -C test lint
test:
$(MAKE) -C test
diff --git a/test/Makefile b/test/Makefile
index deb6033..027feca 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -61,5 +61,8 @@ aggregate-results:
echo "$$f"; \
done | '$(SHELL_PATH_SQ)' '$(AGGREGATE_SCRIPT)'
-.PHONY: all test prove $(T) pre-clean clean
+lint:
+ shellcheck -s bash setup.sh
+
+.PHONY: all test prove $(T) pre-clean clean lint
.PHONY: aggregate-results-and-cleanup aggregate-results