make+lnrpc: use docker to compile protos

This commit aims to make it easier for developers to compile our
protobuf definitions. They now only need to have docker installed
instead of a whole set of binaries and libraries all pinned to very
specific versions.
This commit is contained in:
Oliver Gugger
2021-01-15 13:44:50 +01:00
parent 91364056f7
commit e9a0f36786
4 changed files with 86 additions and 25 deletions

View File

@@ -262,7 +262,7 @@ list:
rpc:
@$(call print, "Compiling protos.")
cd ./lnrpc; ./gen_protos.sh
cd ./lnrpc; ./gen_protos_docker.sh
rpc-format:
@$(call print, "Formatting protos.")