Merge pull request #387 from kaloudis/patch-1

poolrpc/gen_protos.sh: remove js build tag
This commit is contained in:
Jordi Montes 2022-09-09 05:18:35 -07:00 committed by GitHub
commit f5b214fcee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -37,7 +37,7 @@ function generate() {
falafel=$(which falafel)
pkg="poolrpc"
manual_import="github.com/lightninglabs/pool/auctioneerrpc"
opts="package_name=$pkg,manual_import=$manual_import,api_prefix=1,js_stubs=1,build_tags=// +build js"
opts="package_name=$pkg,manual_import=$manual_import,api_prefix=1,js_stubs=1"
protoc -I/usr/local/include -I. -I.. \
--plugin=protoc-gen-custom=$falafel\
--custom_out=. \

View file

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