valentina/scripts/scan-build.sh
Roman Telezhynskyi 7ffef9725e Improvements for script scan-build.sh.
--HG--
branch : develop
2016-11-08 18:56:25 +02:00

10 lines
268 B
Bash
Executable File

#!/bin/sh
# Helps to run Clang Static Analyzer.
# Please, run this script from folder <root_folder>/scripts.
cd ..
rm -rfv build
mkdir build
cd build
qmake ../Valentina.pro -r -spec linux-clang CONFIG+=debug
scan-build --use-cc clang --use-c++ clang++ make -j$(nproc)