summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/clang_tidy.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-07 04:23:47 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-07 04:23:47 +0300
commitb73924d380171fef837963050492b957e91517c8 (patch)
treed8a00391fcf3a1e9636ee507c74e9310e6c53b22 /tools/ci/jobs/clang_tidy.sh
parentc5c7ca3779e3246b7972b37f29a34d51b9526fae (diff)
downloadmanaverse-b73924d380171fef837963050492b957e91517c8.tar.gz
manaverse-b73924d380171fef837963050492b957e91517c8.tar.bz2
manaverse-b73924d380171fef837963050492b957e91517c8.tar.xz
manaverse-b73924d380171fef837963050492b957e91517c8.zip
Ignore debug directory in clang-tidy.
Diffstat (limited to 'tools/ci/jobs/clang_tidy.sh')
-rwxr-xr-xtools/ci/jobs/clang_tidy.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/ci/jobs/clang_tidy.sh b/tools/ci/jobs/clang_tidy.sh
index 10765efc3..ba8606641 100755
--- a/tools/ci/jobs/clang_tidy.sh
+++ b/tools/ci/jobs/clang_tidy.sh
@@ -18,9 +18,10 @@ check_error $?
cd ..
grep "warning:" logs/clang_tidy.txt \
-| grep -v "src/test/doctest.h" \
-| grep -v "src/test/catch.hpp" \
-| grep -v "src/sdl2gfx/" \
+| grep -v "/src/test/doctest.h" \
+| grep -v "/src/test/catch.hpp" \
+| grep -v "/src/sdl2gfx/" \
+| grep -v "/src/debug/" \
>${ERRFILE}
run_check_warnings