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. // Code generated by falafel 0.9.1. DO NOT EDIT.
// source: autopilot.proto // source: autopilot.proto
// +build js
package autopilotrpc package autopilotrpc
import ( import (

View File

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

View File

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

View File

@ -41,7 +41,7 @@ function generate() {
# Generate the JSON/WASM client stubs. # Generate the JSON/WASM client stubs.
falafel=$(which falafel) falafel=$(which falafel)
pkg="lnrpc" 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.. \ protoc -I/usr/local/include -I. -I.. \
--plugin=protoc-gen-custom=$falafel\ --plugin=protoc-gen-custom=$falafel\
--custom_out=. \ --custom_out=. \
@ -61,7 +61,7 @@ function generate() {
manual_import="github.com/lightningnetwork/lnd/lnrpc" manual_import="github.com/lightningnetwork/lnd/lnrpc"
fi 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 pushd $package
protoc -I/usr/local/include -I. -I.. \ protoc -I/usr/local/include -I. -I.. \
--plugin=protoc-gen-custom=$falafel\ --plugin=protoc-gen-custom=$falafel\

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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