[Adaptation Layer] Added rive-tizen adaptation layer class.
[platform/core/uifw/rive-tizen.git] / submodule / dev / analyze.sh
1 #!/bin/bash
2
3 # install scan-build
4 if ! command -v scan-build &> /dev/null
5 then
6     if ! command -v pip &> /dev/null
7     then
8         curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
9         python3 get-pip.py
10     fi
11     pip install scan-build
12 fi
13
14
15 cd test
16 premake5 clean || exit 1
17 premake5 gmake || exit 1
18 scan-build -o ../analysis_report/ make -j7 || exit 1
19 premake5 clean