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

[FR]: Simple example of using run_binary() with out_dirs #859

Open
brycefisher opened this issue May 31, 2024 · 0 comments
Open

[FR]: Simple example of using run_binary() with out_dirs #859

brycefisher opened this issue May 31, 2024 · 0 comments
Labels
enhancement New feature or request untriaged Requires traige

Comments

@brycefisher
Copy link

brycefisher commented May 31, 2024

What is the current behavior?

I'm trying to figure out if run_binary is appropriate for my use case, but I can't determine where my tool should write its outputs for them to appear. However, there's no simple examples of this attribute being used I can easily understand, and I can't use makevars or location to find my out_dirs.

Describe the feature

rules_pkg has a directory of examples that make it relatively easy to figure out how to use the rules from looking at some simple to moderately complex examples. I'd love to see something similar for run_binary() since its only "genrule" that has the out_dirs capability.

Related info:

  • I did try looking at this issue but I couldn't quite wrap my head around it
  • I also tried looking at the source code for rules_js but I couldn't easily jump through the project to figure out how all of that works
@brycefisher brycefisher added the enhancement New feature or request label May 31, 2024
@github-actions github-actions bot added the untriaged Requires traige label May 31, 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 untriaged Requires traige
Projects
None yet
Development

No branches or pull requests

1 participant