2018-10-31 15:31:46 +08:00
|
|
|
#!/usr/bin/env bash
|
2020-03-14 21:48:59 +08:00
|
|
|
cd "${0%/*}/.."
|
2018-10-31 15:31:46 +08:00
|
|
|
dir=gen/web
|
|
|
|
|
mkdir -p $dir
|
2019-09-26 18:06:06 +08:00
|
|
|
protoc -I . --js_out=import_style=commonjs:$dir --grpc-web_out=import_style=commonjs,mode=grpcwebtext:$dir bdledger/api/common.proto
|
|
|
|
|
protoc -I . --js_out=import_style=commonjs:$dir --grpc-web_out=import_style=commonjs,mode=grpcwebtext:$dir bdledger/api/error_details.proto
|
2020-03-07 13:53:11 +08:00
|
|
|
protoc -I . --js_out=import_style=commonjs:$dir --grpc-web_out=import_style=commonjs,mode=grpcwebtext:$dir bdledger/api/node.proto
|
2020-01-08 10:03:39 +08:00
|
|
|
protoc -I . --js_out=import_style=commonjs:$dir --grpc-web_out=import_style=commonjs,mode=grpcwebtext:$dir bdledger/api/ledger.proto
|
|
|
|
|
protoc -I . --js_out=import_style=commonjs:$dir --grpc-web_out=import_style=commonjs,mode=grpcwebtext:$dir bdledger/api/query.proto
|