-
Notifications
You must be signed in to change notification settings - Fork 841
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
stack build --skip doesn't skip anything #3827
Comments
Hmm, indeed, this appears to be a bug. Original implementation is https://github.com/commercialhaskell/stack/pull/3148/files#diff-d43656b6dccca5b1708eaf03ea8bd1daR187 Looks like everything but libraries can be filtered with |
I can do this one |
CLI args parsing logic wasn't supposed to be touched by refactoring in #4412 but maybe that PR could give some merge conflicts as some functions got moved a bit. |
OK — I was thinking that skipping the library may have some knock on impact, but I think I'm misunderstanding the @vanceism7 Go for it and we can deal with #4421 after it's working on |
Ok, so I think I've basically got skip for libraries working, but just to check, what exactly is the behavior for the skip flag supposed to be? With my fix in place, currently what I'm seeing based on the original issue's steps to reproduce, is that calling In order to skip the |
Yes — I'm not actually sure what the value is of not building the library, though — perhaps you wish to avoid recompilation, or run a test suite on a binary? |
Steps to reproduce
Expected
Package
this
does not gets built and its tests are skipped.Actual
Package
this
is building and then its tests are running.Stack version
Method of installation
The text was updated successfully, but these errors were encountered: