Add shellcheck makefile target

This commit is contained in:
Darko Poljak 2019-11-14 19:16:11 +01:00
parent 2cefdaa1a5
commit a5e565b5d6
1 changed files with 3 additions and 0 deletions

View File

@ -199,6 +199,9 @@ dist: distclean documentation
/tmp/ccollect:
mkdir -p /tmp/ccollect
shellcheck: ./ccollect
shellcheck -s sh -f gcc -x ./ccollect
test: $(CCOLLECT_SOURCE) /tmp/ccollect
cd ./conf/sources/; for s in *; do CCOLLECT_CONF=../ ../../ccollect daily "$$s"; done
touch /tmp/ccollect/$$(ls /tmp/ccollect | head -n1).ccollect-marker