-
Notifications
You must be signed in to change notification settings - Fork 0
/
proto_gateway.sh
12 lines (7 loc) · 1.36 KB
/
proto_gateway.sh
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=plugins=grpc:. ./gateway/app/protobuf/app_gateway/app_gateway.proto
#protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --ruby_out=. ./gateway/app/protobuf/app_gateway/app_gateway.proto
#protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --plugin=protoc-gen-grpc=grpc_ruby_plugin --grpc-ruby_out=. ./gateway/app/protobuf/app_gateway/app_gateway.proto
#protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --grpc-gateway_out=logtostderr=true:. ./gateway/app/protobuf/app_gateway/app_gateway.proto
#protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --swagger_out=logtostderr=true:. ./gateway/app/protobuf/app_gateway/app_gateway.proto
protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --grpc-gateway_out=logtostderr=true,grpc_api_configuration=./gateway/app/protobuf/app_gateway/app_gateway.yaml:. ./gateway/app/protobuf/app_gateway/app_gateway.proto