-
Notifications
You must be signed in to change notification settings - Fork 846
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
cabal clean
ignored
#1890
Comments
This is because We could have it invoke Setup.hs for custom build types. I'm not sure if this case was considered when I do not consider this a bug, as it is not a goal of stack to support every aspect of Custom build types, as that would be prohibitively restrictive and complicated. SideNote: I'd prefer that we move away from the Wouldn't it be crazy if to use hooks with git, you had to compile something that links in git and uses your hooks? That's the kind of situation we have with Cabal... I think we should consider adding a simple hook system to stack, which avoids these problems by directly using stack's CLI for information query and mutation. This way we can have hooks that are independent of stack version and even write them in languages other than Haskell (like bash! hah) |
I noticed that cabal does have a |
Possibly. The wrinkle is that the files are generated by the |
Oh yeah, we definitely wouldn't require that the |
Also in my case part of the |
I have a
cleanHook
function that deletes some extra files. It runs fine when I docabal clean
but notstack clean
. If this isn't a known bug I'll work up a small example.The text was updated successfully, but these errors were encountered: