-
-
Notifications
You must be signed in to change notification settings - Fork 686
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
go is only meant to be used with 'bazel run', not as a tool #4283
Comments
this is my super rough undocumented rule that I use to do this at $work:
invoke this like so:
|
This worked extremely well. Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to run a tool that uses
gocommand
(oapi-codegen), and thus needs Go in path in a genrule (it's used with go:generate, so this makes sense).See below script:
I get the below error:
This works in CI because the CI runner has
go
installed , but I think it's a little strange to need to do thatThe text was updated successfully, but these errors were encountered: