forked from github/server
8 lines
239 B
Bash
Executable file
8 lines
239 B
Bash
Executable file
#!/bin/sh
|
|
IGNORE=$(find src -name "*.test.c" | awk '{ print "-i"$1 }')
|
|
|
|
cppcheck $IGNORE -isrc/tests.c \
|
|
--quiet --enable=all -U_MSC_VER -UCLEANUP_CODE -UTODO \
|
|
-UERESSEA_BUILDNO -UERESSEA_VERSION \
|
|
-IcJSON -Isrc -Iclibs -Istorage src
|
|
|