-
Notifications
You must be signed in to change notification settings - Fork 0
/
gen_proto.sh
executable file
·12 lines (9 loc) · 1.27 KB
/
gen_proto.sh
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
mkdir -p src/cloudstate/proto
protoc -I cloudstate/proto -I cloudstate/proto/protocol --grpc_out=./src/cloudstate/proto/ --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` cloudstate/proto/protocol/cloudstate/entity.proto
protoc -I cloudstate/proto -I cloudstate/proto/protocol --cpp_out=./src/cloudstate/proto/ cloudstate/proto/protocol/cloudstate/entity.proto
protoc -I cloudstate/proto -I cloudstate/proto/protocol --grpc_out=./src/cloudstate/proto/ --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` cloudstate/proto/protocol/cloudstate/event_sourced.proto
protoc -I cloudstate/proto -I cloudstate/proto/protocol --cpp_out=./src/cloudstate/proto/ cloudstate/proto/protocol/cloudstate/event_sourced.proto
protoc -I cloudstate/proto -I cloudstate/proto/protocol --grpc_out=./src/cloudstate/proto/ --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` cloudstate/proto/protocol/cloudstate/function.proto
protoc -I cloudstate/proto -I cloudstate/proto/protocol --grpc_out=./src/cloudstate/proto/ --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` cloudstate/proto/protocol/cloudstate/crdt.proto
protoc -I cloudstate/proto -I cloudstate/proto/protocol --grpc_out=./src/cloudstate/proto/ --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` cloudstate/proto/frontend/cloudstate/entity_key.proto