Skip to content
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

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

Open
aaronsky opened this issue May 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@aaronsky
Copy link

aaronsky commented May 5, 2024

Akin to theoremlp/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 🙌🏼

@p0deje
Copy link
Member

p0deje commented May 5, 2024

Can you give me an example of how you would use this with rules_ruby? Would you use it with a linter or a custom Ruby script? I'd use this as a test during the implementation.

@p0deje p0deje added the enhancement New feature or request label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants