mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-06 06:34:22 +01:00
Makefile: check-source-no-cppcheck.
Recent cppcheck doesn't like our code; until we fix that, make it easy to run every other source check. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
5
Makefile
5
Makefile
@@ -571,7 +571,10 @@ check-amount-access:
|
||||
@! (git grep -nE "(->|\.)(milli)?satoshis" -- "*.c" "*.h" ":(exclude)common/amount.*" ":(exclude)*/test/*" | grep -v '/* Raw:')
|
||||
@! git grep -nE "\\(struct amount_(m)?sat\\)" -- "*.c" "*.h" ":(exclude)common/amount.*" ":(exclude)*/test/*"
|
||||
|
||||
check-source: check-makefile check-source-bolt check-whitespace check-spelling check-python check-includes check-cppcheck check-shellcheck check-setup_locale check-tmpctx check-discouraged-functions check-amount-access
|
||||
# For those without working cppcheck
|
||||
check-source-no-cppcheck: check-makefile check-source-bolt check-whitespace check-spelling check-python check-includes check-shellcheck check-setup_locale check-tmpctx check-discouraged-functions check-amount-access
|
||||
|
||||
check-source: check-source-no-cppcheck check-cppcheck
|
||||
|
||||
full-check: check check-source
|
||||
|
||||
|
||||
Reference in New Issue
Block a user