Files
gocryptotrader/gctrpc/gen_pb_linux.sh
Adrian Gallagher f5914e8c10 Engine changes
2019-05-22 17:06:38 +10:00

4 lines
501 B
Bash

echo "GoCryptoTrader: Generating gRPC, proxy and swagger files."
protoc -I=. -I=$GOPATH/src -I=$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=plugins=grpc:. rpc.proto
protoc -I=. -I=$GOPATH/src -I=$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --grpc-gateway_out=logtostderr=true:. rpc.proto
protoc -I=. -I=$GOPATH/src -I=$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --swagger_out=logtostderr=true:. rpc.proto