set -eu
# Which paths to ignore.
-paths='src/solaris src/mingw'
+paths='src/solaris src/mingw src/gcrypt'
case "$(uname -s)" in
Linux)
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
+ make clean
+ compiledb make all extra
fi
echo >&2 "Running clang-tidy without $paths"