Stack: Stack ghci with test dependencies installed

Created on 3 Mar 2016  路  2Comments  路  Source: commercialhaskell/stack

When I run stack ghci --no-load I typically have a .ghci file in my local directory which loads both the executable and some of the test suite. However, stack ghci doesn't ensure the test suite dependencies are already installed. Is there some flag I can add to stack ghci to make sure all the dependencies for all targets are installed? Should --no-load imply that, since you are kind of saying you are going to load something special anyway?

question

Most helpful comment

after 3348ec867bb339ff5f525f68f2e40248d5bfedce stack ghci now takes build options so stack ghci --test --no-load should do it

All 2 comments

after 3348ec867bb339ff5f525f68f2e40248d5bfedce stack ghci now takes build options so stack ghci --test --no-load should do it

Thanks!

Was this page helpful?
0 / 5 - 0 ratings