route/proto/regen.sh

8 lines
290 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