Merge pull request #526 from kaloudis/patch-1

looprpc/gen_protos.sh: remove js build tag
This commit is contained in:
Oliver Gugger 2022-09-16 14:22:21 +02:00 committed by GitHub
commit 9c30101500
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -32,7 +32,7 @@ function generate() {
# Generate the JSON/WASM client stubs.
falafel=$(which falafel)
pkg="looprpc"
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=. \

View file

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