mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-30 12:24:26 +01:00
cln-grpc-plugin: Add scaffolding for the cln-grpc-plugin
This commit is contained in:
committed by
Rusty Russell
parent
5c949e3116
commit
b4c7ba2d8f
@@ -3,4 +3,5 @@ members = [
|
||||
"cln-rpc",
|
||||
"cln-grpc",
|
||||
"plugins",
|
||||
"plugins/grpc-plugin",
|
||||
]
|
||||
|
||||
@@ -179,8 +179,11 @@ CLN_PLUGIN_SRC = $(shell find plugins/src -name "*.rs")
|
||||
${CLN_PLUGIN_EXAMPLES}: ${CLN_PLUGIN_SRC}
|
||||
(cd plugins; cargo build ${CARGO_OPTS} --examples)
|
||||
|
||||
target/${RUST_PROFILE}/grpc-plugin: ${CLN_PLUGIN_SRC}
|
||||
cargo build ${CARGO_OPTS} --bin grpc-plugin
|
||||
|
||||
ifneq ($(RUST),0)
|
||||
DEFAULT_TARGETS += $(CLN_PLUGIN_EXAMPLES)
|
||||
DEFAULT_TARGETS += $(CLN_PLUGIN_EXAMPLES) target/${RUST_PROFILE}/grpc-plugin
|
||||
endif
|
||||
|
||||
include plugins/test/Makefile
|
||||
|
||||
Reference in New Issue
Block a user