bdledger-apis/grpc/scripts/gen-go.sh

12 lines
462 B
Bash
Raw Normal View History

2018-09-09 11:13:05 +00:00
#!/usr/bin/env bash
2020-03-14 13:48:59 +00:00
cd "${0%/*}/.."
dir=gen/nodejs
2020-03-07 05:53:11 +00:00
mkdir -p $dir
protoc -I . --go_out=plugins=grpc:$dir bdledger/api/common.proto
protoc -I . --go_out=plugins=grpc:$dir bdledger/api/error_details.proto
protoc -I . --go_out=plugins=grpc:$dir bdledger/api/node.proto
protoc -I . --go_out=plugins=grpc:$dir bdledger/api/ledger.proto
protoc -I . --go_out=plugins=grpc:$dir bdledger/api/query.proto
2020-03-31 13:19:44 +00:00
protoc -I . --go_out=plugins=grpc:$dir bdledger/api/contract.proto