mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-13 12:32:48 +02: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
1 changed files with 1 additions and 12 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue