Commit ec8261b8 authored by David Frank's avatar David Frank
Browse files

Fail clang-tidy script, if configuration fails

parent 5b0b2bed
......@@ -27,6 +27,12 @@ cd build
cd ..
if [ ! -f build/compile_commands.json ]; then
echo "Compilation database not found!"
echo "--> Most likely the configuration failed"
exit 1
echo "clang-tidy checking changed files compared to target branch ${target_branch}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment