From 56b2af53115d8ea4595fa70097455df496edd0cb Mon Sep 17 00:00:00 2001 From: merakor Date: Sun, 5 Feb 2023 15:17:18 +0000 Subject: Makefile: report progress on shellcheck FossilOrigin-Name: 0842221e47381adac71b5cf8e59326f43cc9ee8bfa85b0533c5429f070566123 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 108138c..f30181c 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,10 @@ shellspec: all tests/etc/cpt-hook shellspec shellcheck: all - cd src; find . ../contrib -name 'cpt*' ! -name '*.*' -exec shellcheck -e 2119 -x -f gcc {} + + @cd src; find . ../contrib -name 'cpt*' ! -name '*.*' | while read -r file; do \ + echo SHELLCHECK "$$file"; \ + shellcheck -e 2119 -x -f gcc "$$file"; \ + done test: shellspec shellcheck -- cgit v1.2.3