dotfiles/.bin/OLD/codechecker-script

12 lines
246 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ -z "$1" ]
then
echo "usage: codechecker <build command>"
exit 2
fi
_tmp=$(mktemp -d)
codechecker check --ctu --jobs 6 -b "$@" -o $_tmp --clean --enable sensitive
codechecker parse --export html --output ${_tmp}_web $_tmp