aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2023-02-05 15:17:18 +0000
committermerakor <cem@ckyln.com>2023-02-05 15:17:18 +0000
commit56b2af53115d8ea4595fa70097455df496edd0cb (patch)
tree167ce42b3a7a307b8c7286a0437a4e77f8a1b5af
parentc91be0d223121faa44c7e4f6ca7ecc5b3e510099 (diff)
downloadcpt-56b2af53115d8ea4595fa70097455df496edd0cb.tar.gz
Makefile: report progress on shellcheck
FossilOrigin-Name: 0842221e47381adac71b5cf8e59326f43cc9ee8bfa85b0533c5429f070566123
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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