mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 20:09:18 +01:00
make: Added update-doc-examples in update-versions
This commit is contained in:
parent
7ff6852073
commit
9c3bef0da0
1 changed files with 5 additions and 4 deletions
9
Makefile
9
Makefile
|
@ -577,10 +577,11 @@ 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/*" | grep -vE "sizeof.struct amount_(m)?sat."
|
||||
|
||||
check-doc-examples:
|
||||
$(PYTEST) $(PYTEST_OPTS) tests/autogenerate-rpc-examples.py
|
||||
git diff --exit-code HEAD
|
||||
update-doc-examples:
|
||||
TEST_DEBUG=1 VALGRIND=0 GENERATE_EXAMPLES=1 $(PYTEST) $(PYTEST_OPTS) --timeout=1200 tests/autogenerate-rpc-examples.py && $(MAKE) $(MSGGEN_GEN_ALL)
|
||||
|
||||
check-doc-examples: update-doc-examples
|
||||
git diff --exit-code HEAD
|
||||
|
||||
# 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-doc-examples
|
||||
|
@ -735,7 +736,7 @@ clean: obsclean
|
|||
|
||||
PYLNS=client proto testing
|
||||
# See doc/contribute-to-core-lightning/contributor-workflow.md
|
||||
update-versions: update-pyln-versions update-clnrest-version update-wss-proxy-version update-poetry-lock update-dot-version
|
||||
update-versions: update-pyln-versions update-clnrest-version update-wss-proxy-version update-poetry-lock update-dot-version update-doc-examples
|
||||
|
||||
update-pyln-versions: $(PYLNS:%=update-pyln-version-%)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue