Similar to how "@com_google_protobuf//:protoc" is available to use as a tool for a genrule or buildscript via "$(location @com_google_protobuf//:protoc)". I have a build script which would like to call buf directly (so it can use the the buf generate command). Currently my build script needs to use the local machines installation at /usr/local/bin/buf rather than a version that is controlled/managed by bazel.
Similar to how "@com_google_protobuf//:protoc" is available to use as a tool for a genrule or buildscript via
"$(location @com_google_protobuf//:protoc)". I have a build script which would like to call buf directly (so it can use the thebuf generatecommand). Currently my build script needs to use the local machines installation at/usr/local/bin/bufrather than a version that is controlled/managed by bazel.