mirror of
https://github.com/rive-app/rive-cpp.git
synced 2026-01-18 13:11:19 +01:00
20 lines
381 B
Bash
Executable File
20 lines
381 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# install scan-build
|
|
if ! command -v scan-build &> /dev/null
|
|
then
|
|
if ! command -v pip &> /dev/null
|
|
then
|
|
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
|
python3 get-pip.py
|
|
fi
|
|
pip install scan-build
|
|
fi
|
|
|
|
|
|
cd test
|
|
premake5 clean || exit 1
|
|
premake5 gmake || exit 1
|
|
scan-build -o ../analysis_report/ make -j7 || exit 1
|
|
premake5 clean
|