gri3-wm/travis/clang-analyze.sh

10 lines
305 B
Bash
Executable File

#!/bin/sh
set -e
set -x
mkdir -p deb/DIST-clang/build
tar xf build/*.tar.bz2 -C deb/DIST-clang --strip-components=1
(cd deb/DIST-clang/build && scan-build -o ../../CLANG ../configure && scan-build -o ../../CLANG --html-title="Analysis of i3 v$(git describe --tags)" make -j8)
mv deb/CLANG/*/* deb/CLANG