-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add flag to select which project #24
Comments
While on this, please add another flag to exclude a project. |
Sounds like a good idea. |
I've just come across this, and it would be pretty handy. |
I'm unconvinced this is valuable. Adding an exclude rule in |
Can Weeder ever crash on a project ? If the answer is yes or I don’t know, then this is still valuable. |
It's meant to never crash under any circumstances. Naturally, I'm sure there are bugs, but if they get reported they'll get fixed. |
Closing in the absence of a concrete use case - please reopen if one pops up. |
Bringing this over from a comment left in #41: I think this would be valuable in the case where you want to isolate the output to a given package temporarily, most likely because you're working on that package right now and you want to use It's true using
To actually satisfy this use-case via the config would require adding excludes for everything else, running weeder, then removing them. Doable, but an option would be way better at not much cost IMO. |
So you want an option to pick only a subset of projects? e.g. |
Correct. To me, it seemed natural that But keeping the unnamed |
Happy to accept a patch for this as I'm guessing it won't be too hard to do. Alternatively, I'll likely get to it at some point in the future. |
I've another use case for this: We've got a repository containing multiple Haskell projects in a single Stack project. We're using Shake to drive
|
@jwoudenberg - wow, using one of my other projects to get me to improve a different one. Tricksy 😝 |
Haha 😄, it only works because you maintain so many cool projects! |
Weeder 2.0 is being developed at https://github.com/ocharles/weeder so I suggest you go see if that fixes your issues. |
If a stack file lists multiple projects there should be a way to pick which projects are actually run.
The text was updated successfully, but these errors were encountered: