mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-07 08:07:20 +02:00
11 lines
299 B
Bash
Executable File
11 lines
299 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Ensure we are at the project root
|
|
cd "$(dirname $0)"/..
|
|
|
|
# Collect scan-build output
|
|
ninja scan-build -C builddir | tee builddir/meson-logs/scan-build.txt
|
|
|
|
# Invert the output - if this string exists it's a fail
|
|
exit ! grep -E '[0-9]+ bugs? found.' builddir/meson-logs/scan-build.txt
|