Skip to content

Commit

Permalink
Adding dependency build for initial install, updating to changes in g…
Browse files Browse the repository at this point in the history
…rpc github URLs
  • Loading branch information
kellrott committed Jul 27, 2016
1 parent e4c1c71 commit 4e1be99
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 17 deletions.
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server:

proto_build:
cd task-execution-schemas/proto && protoc $(PROTO_INC) \
--go_out=Mgoogle/api/annotations.proto=github.com/gengo/grpc-gateway/third_party/googleapis/google/api,plugins=grpc:../../src/ga4gh-tasks/ \
--go_out=Mgoogle/api/annotations.proto=github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api,plugins=grpc:../../src/ga4gh-tasks/ \
--grpc-gateway_out=logtostderr=true:../../src/ga4gh-tasks/ \
task_execution.proto
cd proto && protoc \
Expand All @@ -23,5 +23,10 @@ proto_build:

grpc:
go get -u github.com/golang/protobuf/protoc-gen-go
go get -u github.com/gengo/grpc-gateway/protoc-gen-swagger
go get -u github.com/gengo/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway

depends: grpc
go get -d ga4gh-taskserver/
go get -d ga4gh-worker/

9 changes: 7 additions & 2 deletions src/ga4gh-server/proto/task_worker.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions src/ga4gh-tasks/task_execution.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 27 additions & 7 deletions src/ga4gh-tasks/task_execution.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ga4gh-taskserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"golang.org/x/net/context"
"github.com/gorilla/mux"
"google.golang.org/grpc"
"github.com/gengo/grpc-gateway/runtime"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"ga4gh-tasks"
"ga4gh-server"
"runtime/debug"
Expand Down

0 comments on commit 4e1be99

Please sign in to comment.