trivial: only run scan-build if compiler is clang

This commit is contained in:
Mario Limonciello 2020-08-28 12:12:23 -05:00
parent 6f4b72cea5
commit 58eeeff9a8

View File

@ -25,4 +25,6 @@ mkdir -p dist/docs
cp build/docs/* dist/docs -R cp build/docs/* dist/docs -R
#run static analysis (these mostly won't be critical) #run static analysis (these mostly won't be critical)
ninja -C build scan-build -v if [ "$CC" = "clang" ]; then
ninja -C build scan-build -v
fi