Skip to content

Generate convenience target alongside binary.sh target that changes the current working directory #115

@aaronsky

Description

@aaronsky

Akin to bazel-contrib/rules_multitool#29, as an addition to the existing support in binary.bzl, it would be great to also have a convenience target that makes it easier to bazel run the generated @bundle//bin:{tool} target in the current directory. This can be worked around with a custom script and runfiles.bash, but it would be much easier for me to just bazel run @bundle//bin/{tool}:cwd or something like that. Kind of like this.

Not sure if you're interested in this, but the support in multitool has already been very helpful to me 🙌🏼

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions