Merge pull request #6899 from kaloudis/protos-remove-js-build-tag

lnrpc/gen_protos.sh: remove js build tag
This commit is contained in:
Olaoluwa Osuntokun 2022-09-13 17:36:14 -07:00 committed by GitHub
commit 89ebd03ff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 (