build pb shell

This commit is contained in:
2026-09-22 22:25:39 +08:00
parent fcd795673d
commit b8ff9acc3d
45 changed files with 5277 additions and 3986 deletions

View File

@@ -0,0 +1,15 @@
#!/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