-
-
Notifications
You must be signed in to change notification settings - Fork 286
Reuse @com_google_protobuf//:protoc when generating scala from proto #708
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
Conversation
|
Resolves #690 |
johnynek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor comment. Take or leave it.
So if I read correctly this is somewhat orthogonal to @ianoc-stripe’s PR since he can take this same approach (maybe does already?) in his PR?
| import java.nio.file.{Files, Path, Paths} | ||
|
|
||
| class PBGenerateRequest(val jarOutput: String, val scalaPBOutput: Path, val scalaPBArgs: List[String]) | ||
| class PBGenerateRequest(val jarOutput: String, val scalaPBOutput: Path, val scalaPBArgs: List[String], val protoc: String) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should protoc be a Path?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to Path
|
@johnynek yes this is orthogonal to @ianoc-stripe's changes. These changes are not in his PR but he can take them and incorporate to his PR. Your call, I have no objections. |
|
One side effect is that messages like are not printed anymore (those used to come from protoc-jar). Useful for debugging but not essential. |
|
cc @ianoc-stripe this seems like a good thing to copy in the aspect version. |
This was forgotten in bazel-contrib#652.
Remove
protoc-jarwhich brings own versions ofprotoc