server/s/cppcheck

9 lines
239 B
Plaintext
Raw Normal View History

#!/bin/sh
2018-02-25 20:04:55 +01:00
IGNORE=$(find src -name "*.test.c" | awk '{ print "-i"$1 }')
2018-02-26 19:48:52 +01:00
cppcheck $IGNORE -isrc/tests.c \
2018-02-25 20:04:55 +01:00
--quiet --enable=all -U_MSC_VER -UCLEANUP_CODE -UTODO \
2018-02-25 19:37:23 +01:00
-UERESSEA_BUILDNO -UERESSEA_VERSION \
2018-02-25 17:21:09 +01:00
-IcJSON -Isrc -Iclibs -Istorage src