Skip to content

How to specify "binary=True" in go_repo like in go_module #3326

@linuxerwang

Description

@linuxerwang

go_module supports a "binary=True" which builds an executable, but go_repo doesn't have this parameter, what's the correct way to do it?

go_module(
    name = "protoc-gen-go",
    binary = True,
    install = ["protoc-gen-go"],
    module = "github.com/golang/protobuf",
    ...
)

Thanks!

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