Skip to content
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 --test so that test dependencies are built #86

Closed
wants to merge 1 commit into from
Closed

Add --test so that test dependencies are built #86

wants to merge 1 commit into from

Conversation

istathar
Copy link
Contributor

@istathar istathar commented Nov 7, 2019

I've been poking away at trying to solve #65 . My hypothesis is that all I need to do is add --test --no-run-tests (and maybe --bench --no-run-benchmarks for completeness) to stackAction and we're done?

@istathar
Copy link
Contributor Author

istathar commented Nov 7, 2019

(I'm really not sure at the wisdom of this, but I wanted to have a go)

@mpickering
Copy link
Collaborator

@afcowie I don't think you are solving any problem with hie-bios. The issue is that ghcide doesn't pass a filepath when it calls the cradle.

If you run stack repl /path/to/test/file.hs then it will work correctly and build test dependencies I think.

@mpickering mpickering closed this Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants