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

Fix #288: allow mixing --local with and without paths when generating #438

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidaf3
Copy link

This PR fixes #288, allowing to mix the --local parameter with and without paths when generating a database, e.g. hoogle generate --local --local=foo. This way you can include both your dependencies and your own code in a single database. Previously, --local was ignored if another --local=foo was present.

This is not as flexible as the design proposed in https://github.com/ndmitchell/hoogle/blob/master/src/Action/Generate.hs#L40, but it solves the issue for now.

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.

Combining databases
1 participant