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

What's the significance of the .ghci file? #19

Open
DestyNova opened this issue Jun 20, 2021 · 0 comments
Open

What's the significance of the .ghci file? #19

DestyNova opened this issue Jun 20, 2021 · 0 comments

Comments

@DestyNova
Copy link

While trying to replicate this setup in an existing Stack project, I noticed stack exec sensei test/Spec.hs fails to find the test modules. Then I noticed that I didn't have a .ghci file, and copied the one in this repo, which fixed the problem.

Could you add a note in the README perhaps explaining the function of this file? I'm guessing the following line is important and tells ghci to look in both the src and test directories for modules:

:set -isrc -itest
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

No branches or pull requests

1 participant