mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 23:57:22 +02:00
14 lines
264 B
Bash
Executable File
14 lines
264 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Exit on failure
|
|
set -e
|
|
|
|
# Build directly
|
|
cd build/
|
|
|
|
# Collect scan-build output
|
|
ninja scan-build | 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
|
|
|