File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ before_script:
1717# let's use protobuf
1818script :
1919 - $HOME/protobuf/bin/protoc --java_out=./ ./core/*.proto ./api/*.proto
20- - $HOME/protobuf/bin/protoc --go_out=./ ./core/*.proto
21- - $HOME/protobuf/bin/protoc --go_out=./ ./api/*.proto
22- - $HOME/protobuf/bin/protoc --grpc-gateway_out=logtostderr=true:./ ./api/*.proto
20+ - $HOME/protobuf/bin/protoc I. -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=./ ./core/*.proto
21+ - $HOME/protobuf/bin/protoc I. -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=./ ./api/*.proto
22+ - $HOME/protobuf/bin/protoc I. -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --grpc-gateway_out=logtostderr=true:./ ./api/*.proto
2323
2424 - ls -l
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -e
3+
4+ go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
5+ go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
6+ go get -u github.com/golang/protobuf/protoc-gen-go
7+
38wget http://central.maven.org/maven2/com/google/api/grpc/googleapis-common-protos/0.0.3/googleapis-common-protos-0.0.3.jar
49jar xvf googleapis-common-protos-0.0.3.jar
510cp -r google/ $HOME /protobuf/include/
You can’t perform that action at this time.
0 commit comments