forked from ungleich-public/ccollect
Add shellcheck makefile target
This commit is contained in:
parent
2cefdaa1a5
commit
a5e565b5d6
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue