1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02:00
falkonOfficial/scripts/cppcheck.sh

28 lines
311 B
Bash
Executable File

#!/bin/bash
#
# cppcheck
#
function check_code {
cppcheck \
-j 4 \
--enable=style,performance,portability,missingInclude \
--inline-suppr \
--force \
--verbose \
. > /dev/null
}
echo "cppcheck..."
cd ../src/plugins
check_code
cd ../lib/
check_code
cd ../main
check_code
exit 0