Skip to content

Include the the buf cli binary as a target so it can be used as a tool for build scripts. #38

Closed
@echochamber

Description

@echochamber

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions