mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 02:40:17 +02:00
- added script to run cppcheck on the code
This commit is contained in:
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"
|
||||
|
Reference in New Issue
Block a user