- added script to run cppcheck on the code
This commit is contained in:
parent
6bff5c0687
commit
7a099a51c3
10
mk/linux/mg_cppcheck.sh
Executable file
10
mk/linux/mg_cppcheck.sh
Executable 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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user