Add script to run cppcheck.
authorEmil Mikulic <emikulic@gmail.com>
Tue, 7 Jan 2014 15:05:00 +0000 (02:05 +1100)
committerEmil Mikulic <emikulic@gmail.com>
Fri, 14 Mar 2014 10:52:59 +0000 (21:52 +1100)
devel/cppcheck [new file with mode: 0644]

diff --git a/devel/cppcheck b/devel/cppcheck
new file mode 100644 (file)
index 0000000..8ce11df
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+# --check-config - to list headers that can't be found.
+cppcheck --report-progress --enable=all -I/usr/include \
+  -I/usr/include/linux -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include \
+  ../darkhttpd.c