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