server/s/cppcheck
2018-02-25 20:06:55 +01:00

8 lines
225 B
Bash
Executable file

#!/bin/sh
IGNORE=$(find src -name "*.test.c" | awk '{ print "-i"$1 }')
cppcheck $IGNORE \
--quiet --enable=all -U_MSC_VER -UCLEANUP_CODE -UTODO \
-UERESSEA_BUILDNO -UERESSEA_VERSION \
-IcJSON -Isrc -Iclibs -Istorage src