Merge pull request #6207 from lightningnetwork/ci-rpc-check

makefile: fail rpc-check after finding any changes
This commit is contained in:
Oliver Gugger authored and GitHub committed 2022-01-31 11:15:35 +01:00
commit 8d40c8904e
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -280,7 +280,7 @@ rpc-format:
rpc-check: rpc rpc-check: rpc
@$(call print, "Verifying protos.") @$(call print, "Verifying protos.")
cd ./lnrpc; ../scripts/check-rest-annotations.sh cd ./lnrpc; ../scripts/check-rest-annotations.sh
if test -n "$$(git describe --dirty | grep dirty)"; then echo "Protos not properly formatted or not compiled with v3.4.0"; git status; git diff; exit 1; fi if test -n "$$(git status --porcelain)"; then echo "Protos not properly formatted or not compiled with v3.4.0"; git status; git diff; exit 1; fi
rpc-js-compile: rpc-js-compile:
@$(call print, "Compiling JSON/WASM stubs.") @$(call print, "Compiling JSON/WASM stubs.")
@@ -83,6 +83,9 @@
allows code external to lnd to call the function, where previously it would allows code external to lnd to call the function, where previously it would
require access to lnd's internals. require access to lnd's internals.
* [rpc-check fails if it finds any changes](https://github.com/lightningnetwork/lnd/pull/6207/)
including new and deleted files.
# Contributors (Alphabetical Order) # Contributors (Alphabetical Order)
* 3nprob * 3nprob
@@ -96,6 +99,7 @@
* ErikEk * ErikEk
* henta * henta
* Joost Jager * Joost Jager
* Jordi Montes
* LightningHelper * LightningHelper
* Liviu * Liviu
* mateuszmp * mateuszmp