Skip to content

Commit

Permalink
Merge pull request #349 from ViktorTigerstrom/2023-06-taprpc-remove-j…
Browse files Browse the repository at this point in the history
…s-build-tag

taprpc: remove `js` build tag for `taprpc`, `assetwalletrpc` & `universerpc`
  • Loading branch information
guggero authored Jun 10, 2023
2 parents c037025 + 7e29f9f commit fd803e9
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 9 deletions.
2 changes: 0 additions & 2 deletions taprpc/assetwalletrpc/assetwallet.pb.json.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions taprpc/gen_protos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ function generate() {
# Generate the JSON/WASM client stubs.
falafel=$(which falafel)
pkg="taprpc"
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=. \
--custom_opt="$opts" \
taprootassets.proto

PACKAGES="assetwalletrpc universerpc"
PACKAGES="assetwalletrpc universerpc mintrpc"
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"
pushd $package
protoc -I/usr/local/include -I. -I.. \
--plugin=protoc-gen-custom=$falafel\
Expand Down
123 changes: 123 additions & 0 deletions taprpc/mintrpc/mint.pb.json.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions taprpc/taprootassets.pb.json.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions taprpc/universerpc/universe.pb.json.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fd803e9

Please sign in to comment.