summaryrefslogtreecommitdiff
path: root/tools/ci/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/scripts')
-rwxr-xr-xtools/ci/scripts/clang_tidy.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ci/scripts/clang_tidy.sh b/tools/ci/scripts/clang_tidy.sh
new file mode 100755
index 000000000..56761379a
--- /dev/null
+++ b/tools/ci/scripts/clang_tidy.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+dir=`pwd`
+
+clang-tidy -checks="$1" "$3" -- -std=c++11 -x c++ -DENABLE_LIBXML -DTMWA_SUPPORT -DDEBUGBUILD $2 -I$dir -I/usr/include -I/usr/include/SDL -I/usr/include/libxml2