mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
lnrpc/gen_protos: remove manual_imports
With the updated falafel version, there is no longer a need to specify manual imports.
This commit is contained in:
parent
58317e66d3
commit
e8da2fa0bd
@ -50,18 +50,7 @@ function generate() {
|
||||
|
||||
PACKAGES="autopilotrpc chainrpc invoicesrpc neutrinorpc peersrpc routerrpc signrpc verrpc walletrpc watchtowerrpc wtclientrpc devrpc"
|
||||
for package in $PACKAGES; do
|
||||
# Special import for the wallet kit.
|
||||
manual_import=""
|
||||
if [[ "$package" == "walletrpc" ]]; then
|
||||
manual_import="github.com/lightningnetwork/lnd/lnrpc/signrpc"
|
||||
fi
|
||||
|
||||
# Special import for devrpc.
|
||||
if [[ "$package" == "devrpc" ]]; then
|
||||
manual_import="github.com/lightningnetwork/lnd/lnrpc"
|
||||
fi
|
||||
|
||||
opts="package_name=$package,manual_import=$manual_import,js_stubs=1"
|
||||
opts="package_name=$package,js_stubs=1"
|
||||
pushd $package
|
||||
protoc -I/usr/local/include -I. -I.. \
|
||||
--plugin=protoc-gen-custom=$falafel\
|
||||
|
Loading…
Reference in New Issue
Block a user