-
Notifications
You must be signed in to change notification settings - Fork 61
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 a mechanism to prevent hie-bios from searching upwards #136
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the linux CI, you need to add the test directories to the hie-bios.cabal extra-source-files
Changes the logic of `findFileUpwards` to stop at any directories that contain the file `.hie-bios.stop`. This should be useful for testing different cradle setups.
I previously worked around this by physically copying the directory to be tested to a But being able to limit scope is a good thing, e.g. trying to work on checked-out ghcide submodule of hls, only. |
Out of interest, what happens if the |
@fendor It uses the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…askell#136)" This reverts commit dd181b8.
)" This reverts commit dd181b8.
Changes the logic of
findFileUpwards
to stop at any directories that contain the file.hie-bios.stop
. This should be useful for testing different cradle setups.