This commit is contained in:
insanity@loafle.com
2017-06-27 16:08:17 +09:00
parent a009f0b18d
commit ba5ce10a15
3 changed files with 28 additions and 31 deletions

View File

@@ -1,6 +1,4 @@
all:
protoc -I/usr/local/include -I. \
-I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
--go_out=plugins=grpc:. \
--grpc-gateway_out=logtostderr=true:. \
echoserver.proto
protoc -I/usr/local/include -I. -I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=plugins=grpc:. --grpc-gateway_out=logtostderr=true:. echoserver/echoserver.proto
protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis
-I grpc/ grpc/grpc.proto --go_out=plugins=grpc:grpc