finalcut/scripts/cppcheck.sh

10 lines
179 B
Bash
Executable File

#!/bin/bash
if [ $# -gt 0 ]
then
eval cppcheck --force --enable=all -I../src/include/ "$@"
else
eval cppcheck --force --enable=all -I../src/include/ ../src/ ../examples/
fi