1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 04:36:34 +01:00
falkonOfficial/scripts/cppcheck.sh
nowrep af7a041714 Added new plugin: Mouse Gestures.
- setting building plugins as default now
- closes #255
2012-02-24 21:03:44 +01: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