Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate go_grpc_library to go_proto_library with compilers #48

Merged
merged 1 commit into from
Dec 22, 2017

Conversation

jayconrod
Copy link
Contributor

  • If a .proto file has a service definition, we will now generate a
    go_proto_library rule with a compilers dependency on
    "@io_bazel_rules_go//proto:go_grpc" instead of a go_grpc_library.
  • Existing go_grpc_library rules will be fixed. This is a minor fix,
    since it doesn't rename, move, or delete rules, so it will run in
    update mode.

Fixes #8

* If a .proto file has a service definition, we will now generate a
  go_proto_library rule with a compilers dependency on
  "@io_bazel_rules_go//proto:go_grpc" instead of a go_grpc_library.
* Existing go_grpc_library rules will be fixed. This is a minor fix,
  since it doesn't rename, move, or delete rules, so it will run in
  update mode.

Fixes bazelbuild#8
@jayconrod jayconrod merged commit 334c311 into bazelbuild:master Dec 22, 2017
@jayconrod jayconrod deleted the migrate-grpc branch December 22, 2017 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generate go_proto_library with gRPC plugin
2 participants