From 8c37628a5d50e1a01fd7c97ba0aa80a39c972638 Mon Sep 17 00:00:00 2001 From: Lucid One Date: Wed, 7 Mar 2018 11:09:52 -0500 Subject: Enable `make lint` for test/setup.sh --- Makefile | 1 + test/Makefile | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3