lnrpc/gen_protos.sh: remove js build tag

This commit is contained in:
Evan Kaloudis 2022-09-07 18:32:05 -04:00
parent 9d04b0c3d9
commit 981f8969b4
No known key found for this signature in database
GPG key ID: AAC48DE8AB8DEE84
16 changed files with 2 additions and 32 deletions

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: autopilot.proto
// +build js
package autopilotrpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: chainnotifier.proto
// +build js
package chainrpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: dev.proto
// +build js
package devrpc
import (

View file

@ -41,7 +41,7 @@ function generate() {
# Generate the JSON/WASM client stubs.
falafel=$(which falafel)
pkg="lnrpc"
opts="package_name=$pkg,js_stubs=1,build_tags=// +build js"
opts="package_name=$pkg,js_stubs=1"
protoc -I/usr/local/include -I. -I.. \
--plugin=protoc-gen-custom=$falafel\
--custom_out=. \
@ -61,7 +61,7 @@ function generate() {
manual_import="github.com/lightningnetwork/lnd/lnrpc"
fi
opts="package_name=$package,manual_import=$manual_import,js_stubs=1,build_tags=// +build js"
opts="package_name=$package,manual_import=$manual_import,js_stubs=1"
pushd $package
protoc -I/usr/local/include -I. -I.. \
--plugin=protoc-gen-custom=$falafel\

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: invoices.proto
// +build js
package invoicesrpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: lightning.proto
// +build js
package lnrpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: neutrino.proto
// +build js
package neutrinorpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: peers.proto
// +build js
package peersrpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: router.proto
// +build js
package routerrpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: signer.proto
// +build js
package signrpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: stateservice.proto
// +build js
package lnrpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: verrpc.proto
// +build js
package verrpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: walletkit.proto
// +build js
package walletrpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: walletunlocker.proto
// +build js
package lnrpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: watchtower.proto
// +build js
package watchtowerrpc
import (

View file

@ -1,8 +1,6 @@
// Code generated by falafel 0.9.1. DO NOT EDIT.
// source: wtclient.proto
// +build js
package wtclientrpc
import (