mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-14 02:52:12 +01:00
28 lines
311 B
Bash
Executable File
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
|