1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 02:52:12 +01:00
falkonOfficial/scripts/cppcheck.sh
2012-09-17 18:03:30 +02:00

27 lines
279 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
#
# cppcheck
#
function check_code {
cppcheck \
--enable=all \
--force \
--verbose \
. > /dev/null
}
echo "cppcheck..."
cd ../src/plugins
check_code
cd ../lib/
check_code
cd ../main
check_code
read -p "Press [ENTER] to close terminal"
exit