16 lines
553 B
Bash
16 lines
553 B
Bash
|
|
#!/usr/bin/env bash
|
||
|
|
set -euo pipefail
|
||
|
|
|
||
|
|
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"
|
||
|
|
|
||
|
|
protoc -I ./proto \
|
||
|
|
--go_out=paths=source_relative:pb \
|
||
|
|
--go_out=paths=source_relative:../../../sdk/client/golang/passport \
|
||
|
|
--go-grpc_out=paths=source_relative:pb \
|
||
|
|
--go-grpc_out=paths=source_relative:../../../sdk/client/golang/passport \
|
||
|
|
--grpc-gateway_out=paths=source_relative,generate_unbound_methods=True:pb \
|
||
|
|
--slc_out=./ \
|
||
|
|
--ts_out=../../../sdk/client/typescript \
|
||
|
|
--markdown_out=paths=source_relative:../../../sdk/docs/passport \
|
||
|
|
proto/*.proto
|