-
-
Notifications
You must be signed in to change notification settings - Fork 707
Description
What version of rules_go are you using?
v0.23.3
What version of gazelle are you using?
v0.21.1
What version of Bazel are you using?
Build label: 3.1.0
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Wed Apr 22 10:32:27 2020 (1587551547)
Build timestamp: 1587551547
Build timestamp as int: 1587551547
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
Ubuntu / AMD64
Any other potentially useful information about your toolchain?
Using gopls and VS Code, which do not yet support Bazel.
What did you do?
I have a little project that builds with bazel and includes .proto files (proto dir here). I would like the project to build using standard Go tools as well.
What did you expect to see?
Conventions or tools for publishing a bazel-based Go repository so that it builds with the standard go
toolchain.
For projects that respect conventions (like one package per directory), it would be nice if rules_go helped maintian a version of a repository that builds with standard Go tools. I don't expect this to work in general, but for simple projects that are purely .go and .proto files it would be nice.
What did you see instead?
I think I will end up writing custom genrules for my project to do this.