diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build/makecheck1 | 2 | ||||
-rwxr-xr-x | build/makecheck2 | 2 | ||||
-rwxr-xr-x | build/makecheck3 | 4 | ||||
-rwxr-xr-x | build/makecheck4 | 2 | ||||
-rwxr-xr-x | build/makecheck5 | 7 |
5 files changed, 8 insertions, 9 deletions
diff --git a/build/makecheck1 b/build/makecheck1 index 96b49e5c7..58f231e14 100755 --- a/build/makecheck1 +++ b/build/makecheck1 @@ -1,3 +1,3 @@ #!/bin/bash -cppcheck --enable=style --enable=information --enable=unusedFunction --force -j 5 -v .. 1>makecheck.txt 2>makecheck_err.txt +cppcheck --enable=style --enable=information --enable=unusedFunction --force -j 5 -v .. 1>makecheck.txt 2>logs/cppcheck1.txt diff --git a/build/makecheck2 b/build/makecheck2 index b9108b6ef..184903c7a 100755 --- a/build/makecheck2 +++ b/build/makecheck2 @@ -1,3 +1,3 @@ #!/bin/bash -../../nsiqcppstyle/nsiqcppstyle/nsiqcppstyle --show-url ../src >make_nsiqcppstyle.txt +../../nsiqcppstyle/nsiqcppstyle/nsiqcppstyle --show-url ../src >logs/nsiqcppstyle.txt diff --git a/build/makecheck3 b/build/makecheck3 index 95e04ad28..c09d002cb 100755 --- a/build/makecheck3 +++ b/build/makecheck3 @@ -1,6 +1,4 @@ #!/bin/bash cd ../src -#../../cppcheck/cppcheck --enable=all --force -j 5 -v -I /usr/include -I /usr/include/c++/4.5 -I /usr/include/libxml2 -I /usr/include/SDL . 1>../makecheck.txt 2>../makecheck_err.txt -#../../cppcheck/cppcheck --enable=style --enable=information --enable=unusedFunction --force -j 5 -v . 1>../makecheck.txt 2>../makecheck_err.txt -../../cppcheck/cppcheck --enable=all -I . -I guichan/include --force -j 5 -v . 1>../build/makecheck.txt 2>../build/makecheck_err.txt +../../cppcheck/cppcheck --enable=all -I . -I guichan/include --force -j 5 -v . 1>../build/makecheck.txt 2>../build/logs/cppcheck2.txt diff --git a/build/makecheck4 b/build/makecheck4 index 5c77d7f3a..946761892 100755 --- a/build/makecheck4 +++ b/build/makecheck4 @@ -1,5 +1,5 @@ #!/bin/bash ../../checkheaders/checkheaders --skip debug.h ../src 2>tmp.txt -sed '/(style): Header not found/d' tmp.txt >makecheck4.txt +sed '/(style): Header not found/d' tmp.txt >logs/checkheader.txt rm tmp.txt diff --git a/build/makecheck5 b/build/makecheck5 index e20b58729..9cf5450b6 100755 --- a/build/makecheck5 +++ b/build/makecheck5 @@ -1,5 +1,6 @@ #!/bin/bash -find ../src -type f -name "*.cpp" -exec ../../vera++/vera++ {} \; 2>makecheck_err.txt -find ../src -type f -name "*.hpp" -exec ../../vera++/vera++ {} \; 2>>makecheck_err.txt -find ../src -type f -name "*.h" -exec ../../vera++/vera++ {} \; 2>>makecheck_err.txt +find ../src -type f -name "*.cpp" -exec ../../vera++/vera++ {} \; 2>logs/vera.txt +find ../src -type f -name "*.hpp" -exec ../../vera++/vera++ {} \; 2>>logs/vera.txt +find ../src -type f -name "*.h" -exec ../../vera++/vera++ {} \; 2>>logs/vera.txt +find ../src -type f -name "*.cc" -exec ../../vera++/vera++ {} \; 2>>logs/vera.txt |