mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 12:46:35 +01:00
26 lines
238 B
Bash
Executable File
26 lines
238 B
Bash
Executable File
#!/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
|
|
|
|
exit 0
|