added styling check scripts
[ppastats.git] / scripts / check.sh
diff --git a/scripts/check.sh b/scripts/check.sh
new file mode 100755 (executable)
index 0000000..491fa73
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+find src -name \*.c -exec `dirname $0`/checkpatch.pl -q --no-tree  -emacs -f {} \;
+find src -name \*.h -exec `dirname $0`/checkpatch.pl -q --no-tree  -emacs -f {} \;