mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-04 05:34:22 +01:00
Add cppcheck checking as part of check-source
This commit is contained in:
committed by
Christian Decker
parent
a54872063f
commit
760e9f6993
2
Makefile
2
Makefile
@@ -265,7 +265,7 @@ check-includes:
|
||||
check-cppcheck: .cppcheck-suppress
|
||||
@trap 'rm -f .cppcheck-suppress' 0; git ls-files -- "*.c" "*.h" | grep -vE '^ccan/' | xargs cppcheck -q --language=c --std=c11 --error-exitcode=1 --suppressions-list=.cppcheck-suppress
|
||||
|
||||
check-source: check-makefile check-source-bolt check-whitespace check-markdown check-spelling check-python check-includes
|
||||
check-source: check-makefile check-source-bolt check-whitespace check-markdown check-spelling check-python check-includes check-cppcheck
|
||||
|
||||
full-check: check check-source
|
||||
|
||||
|
||||
Reference in New Issue
Block a user