route/proto/regen.sh

20 lines
684 B
Bash
Raw Normal View History

#!/bin/bash
protoc -I/usr/local/include -I. \
2017-01-27 02:43:17 +00:00
-I$GOPATH/src \
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
--go_out=Mgoogle/api/annotations.proto=github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api,plugins=grpc:. \
route.proto
2017-09-30 16:47:47 +00:00
# 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:. \
# route.proto
2017-01-27 02:43:17 +00:00
2017-09-30 16:47:47 +00:00
# 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:. \
# route.proto