mirror of
https://github.com/lightninglabs/aperture.git
synced 2025-12-17 00:54:20 +01:00
pricesrpc: fix build tag formatting
This commit is contained in:
@@ -46,7 +46,7 @@ function generate() {
|
||||
# Generate the JSON/WASM client stubs.
|
||||
falafel=$(which falafel)
|
||||
pkg="pricesrpc"
|
||||
opts="package_name=$pkg,js_stubs=1,build_tags=// +build js"
|
||||
opts="package_name=$pkg,js_stubs=1,build_tags=//go:build js"
|
||||
protoc -I/usr/local/include -I. -I.. \
|
||||
--plugin=protoc-gen-custom=$falafel\
|
||||
--custom_out=. \
|
||||
@@ -56,7 +56,7 @@ function generate() {
|
||||
PACKAGES=""
|
||||
for package in $PACKAGES; do
|
||||
|
||||
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,build_tags=//go:build js"
|
||||
pushd $package
|
||||
protoc -I/usr/local/include -I. -I.. \
|
||||
--plugin=protoc-gen-custom=$falafel\
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by falafel 0.9.1. DO NOT EDIT.
|
||||
// source: prices.proto
|
||||
|
||||
// +build js
|
||||
//go:build js
|
||||
|
||||
package pricesrpc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user