mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
8d3871d791
This takes the Rust bindings and converts them into the generated protobuf bindings: > JSON-RPC -> Rust bindings -> grpc bindings -> protobuf
14 lines
360 B
Makefile
14 lines
360 B
Makefile
cln-grpc-wrongdir:
|
|
$(MAKE) -C .. cln-grpc-all
|
|
|
|
CLN_GRPC_EXAMPLES :=
|
|
CLN_GRPC_GENALL = cln-grpc/proto/node.proto \
|
|
cln-grpc/src/convert.rs
|
|
|
|
DEFAULT_TARGETS += $(CLN_GRPC_EXAMPLES) $(CLN_GRPC_GENALL)
|
|
|
|
$(CLN_GRPC_GENALL): $(JSON_SCHEMA)
|
|
PYTHONPATH=contrib/msggen python3 contrib/msggen/msggen/__main__.py
|
|
|
|
cln-grpc-all: ${CLN_GRPC_GENALL} ${CLN_GRPC_EXAMPLES}
|