From 0bf7df68d60ce626c4d92ec409e5dd9712d9fcea Mon Sep 17 00:00:00 2001 From: liyanan Date: Tue, 4 Jul 2017 13:01:45 +0800 Subject: [PATCH] echopb/Makefile: update proto search path --- echopb/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/echopb/Makefile b/echopb/Makefile index f5f0a91..96b74a8 100644 --- a/echopb/Makefile +++ b/echopb/Makefile @@ -1,17 +1,17 @@ all: protoc -I/usr/local/include -I. \ -I${GOPATH}/src \ - -I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ + -I../github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ --go_out=plugins=grpc:. \ service.proto protoc -I/usr/local/include -I. \ -I${GOPATH}/src \ - -I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ + -I../github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ --grpc-gateway_out=logtostderr=true:. \ service.proto protoc -I/usr/local/include -I. \ -I${GOPATH}/src \ - -I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ + -I../github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ --swagger_out=logtostderr=true:. \ service.proto go generate .