compiledb does not like the BSD make when running the -j flag.
-n (for some weird reason) also produces an empty file list.
done
if ! [ -f compile_commands.json ]; then
done
if ! [ -f compile_commands.json ]; then
- # Running compiledb directly on this doesn't work on FreeBSD for some reason.
- make -j2 all extra
- compiledb -n make check
+ compiledb make all extra
fi
echo >&2 "Running clang-tidy without $paths"
fi
echo >&2 "Running clang-tidy without $paths"