mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-26 17:31:45 +02:00
meson: use builddir instead of build
Use the -C option instead of changing the dir, change the build folder to builddir. Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:

committed by
afayaz-feral

parent
ce6485ef97
commit
115f1ecdbd
@ -3,11 +3,8 @@
|
||||
# Exit on failure
|
||||
set -e
|
||||
|
||||
# Build directly
|
||||
cd build/
|
||||
|
||||
# Collect scan-build output
|
||||
ninja scan-build | tee /tmp/scan-build-results.txt
|
||||
ninja scan-build -C builddir | tee /tmp/scan-build-results.txt
|
||||
|
||||
# Invert the output - if this string exists it's a fail
|
||||
! grep -E '[0-9]+ bugs? found.' /tmp/scan-build-results.txt
|
||||
|
Reference in New Issue
Block a user