mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-19 05:44:12 +01:00
cln-grpc: Rename the grpc plugin and binary
Suggested-by: Rusty Russell <@rustyrussell> Changelog-Added: plugins: `cln-grpc` first class GRPC interface for remotely controlling nodes over mTLS authentication
This commit is contained in:
parent
461a65ba16
commit
bf7ad86ef2
@ -179,11 +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
|
||||
target/${RUST_PROFILE}/cln-grpc: ${CLN_PLUGIN_SRC}
|
||||
cargo build ${CARGO_OPTS} --bin cln-grpc
|
||||
|
||||
ifneq ($(RUST),0)
|
||||
DEFAULT_TARGETS += $(CLN_PLUGIN_EXAMPLES) target/${RUST_PROFILE}/grpc-plugin
|
||||
DEFAULT_TARGETS += $(CLN_PLUGIN_EXAMPLES) target/${RUST_PROFILE}/cln-grpc
|
||||
endif
|
||||
|
||||
include plugins/test/Makefile
|
||||
|
@ -1,8 +1,12 @@
|
||||
[package]
|
||||
edition = "2021"
|
||||
name = "grpc-plugin"
|
||||
name = "cln-grpc-plugin"
|
||||
version = "0.1.0"
|
||||
|
||||
[[bin]]
|
||||
name = "cln-grpc"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
log = "0.4"
|
||||
|
Loading…
Reference in New Issue
Block a user