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

[std] Fix std.addRunnable() possibly clobbering files in brioche-run.d #126

Open
kylewlacy opened this issue Oct 16, 2024 · 1 comment
Open

Comments

@kylewlacy
Copy link
Member

When std.addRunnable() is called, it assumes nothing else is under brioche-run.d, and will add recipes to this folder starting with the name recipe-0. This can cause problems if std.addRunnable() is called more than once. We need a scheme to add files in a way where calling std.addRunnable() more than once uses separate paths for each runnable

@kylewlacy
Copy link
Member Author

kylewlacy commented Oct 16, 2024

One possible scheme: we could make it so std.addRunnable(recipe, "bin/path", { ... }) puts runnable files under brioche-run.d/bin/path/...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant