-
Notifications
You must be signed in to change notification settings - Fork 842
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
Can't use component syntax with hackage package TARGETs #2382
Comments
This sounds like |
I've moved the title to body and made the title a summary of the issue. Which is that you can't currently ask stack to build + run the test of a dependency, it must be a local package. I don't see any reason we shouldn't lift this restriction. |
Actually it's not even clear from the original issue description whether wai-extra and warp were dependencies of the project. @dschalk: Can you give us the output of
I'm a bit worried that the distinction between local (project) packages and others might become even more fuzzy. Would Apart from these concerns, I do agree though, that having an easy way to run the test suites or benchmarks for a dependency would be a nice thing to have. |
True! It would have some funny interactions with |
Closing, it seems like the original problem is still unclear |
stack build --file-watch --test --copy-bins --haddock wai-extra :warp warp:doctest --exec 'echo Yay, it worked!' returns "Could not find a component named warp". I am using 64 bit Ubuntu 14.04. Prior to running the code, I entered "stack install wai warp". I can import Network.Wai in stack ghci.
The text was updated successfully, but these errors were encountered: