mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
27 lines
279 B
Bash
27 lines
279 B
Bash
#!/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
|