From: Maxim Mamontov Date: Tue, 20 Mar 2018 10:23:16 +0000 (+0200) Subject: Add a script to run cppcheck over all projects. X-Git-Tag: 2.409~15 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/d2fc992c13b7684957b4bfa4b409389e9383d333 Add a script to run cppcheck over all projects. --- diff --git a/runcheck.sh b/runcheck.sh new file mode 100755 index 00000000..9115cc00 --- /dev/null +++ b/runcheck.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +INCLUDES="-I include/ + -I stglibs/common.lib/include/ + -I stglibs/conffiles.lib/include/ + -I stglibs/crypto.lib/include/ + -I stglibs/dotconfpp.lib/include/ + -I stglibs/ia.lib/include/ + -I stglibs/ibpp.lib/include/ + -I stglibs/logger.lib/include/ + -I stglibs/pinger.lib/include/ + -I stglibs/scriptexecuter.lib/include/ + -I stglibs/smux.lib/include/ + -I stglibs/srvconf.lib/include/" + +PROJECTS="projects/libs + projects/rscriptd + projects/sgauth + projects/sgconf + projects/sgconf_xml + projects/sgconv + projects/stargazer" + +cppcheck ${INCLUDES} --enable=all -q ${PROJECTS}