dotfiles/.bin/OLD/codechecker-script
2024-02-14 07:55:58 +01:00

12 lines
246 B
Bash
Executable File

#!/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