]> git.stg.codes - stg.git/blob - runcheck.sh
Add a script to run cppcheck over all projects.
[stg.git] / runcheck.sh
1 #!/bin/sh
2
3 INCLUDES="-I include/
4           -I stglibs/common.lib/include/
5           -I stglibs/conffiles.lib/include/
6           -I stglibs/crypto.lib/include/
7           -I stglibs/dotconfpp.lib/include/
8           -I stglibs/ia.lib/include/
9           -I stglibs/ibpp.lib/include/
10           -I stglibs/logger.lib/include/
11           -I stglibs/pinger.lib/include/
12           -I stglibs/scriptexecuter.lib/include/
13           -I stglibs/smux.lib/include/
14           -I stglibs/srvconf.lib/include/"
15
16 PROJECTS="projects/libs
17           projects/rscriptd
18           projects/sgauth
19           projects/sgconf
20           projects/sgconf_xml
21           projects/sgconv
22           projects/stargazer"
23
24 cppcheck ${INCLUDES} --enable=all -q ${PROJECTS}