- added script to run cppcheck on the code

This commit is contained in:
Mark Vejvoda 2012-03-28 05:58:13 +00:00
parent 6bff5c0687
commit 7a099a51c3
1 changed files with 10 additions and 0 deletions

10
mk/linux/mg_cppcheck.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
# Use this script to check MegaGlest Source Code for errors using cppcheck
# ----------------------------------------------------------------------------
# Written by Mark Vejvoda <mark_vejvoda@hotmail.com>
# Copyright (c) 2011 Mark Vejvoda under GNU GPL v3.0+
cppcheck ../../source/ -i ../../source/win32_deps -i ../../source/configurator -j 5 --enable=all 2> cppcheck.log
echo "Results from cppcheck were written to cppcheck.log"