hunt-framework / hunt

A flexible, lightweight search platform
59 stars 10 forks source link

Can't figure out how to include hunt-searchengine as a dependency #100

Closed whitehead1415 closed 7 years ago

whitehead1415 commented 7 years ago

I'm a bit confused about how to use this project as a library. On hackage it shows that the current version is 0.3.0.1, is that up to date? it lists old versions of dependencies like the text package required is < 1.2. However in the cabal file in the hunt-searchengine directory of this project it has more up to date package dependencies, but it says it is version 0.2.0.0.

I was trying to point to the github repo in my stack.yml file, and then I realized that hunt-searchengine is in a nested folder.

What is the best way to include this as a dependency in my stack project?

whitehead1415 commented 7 years ago

Figured out that there was a subdirs option that I was missing in the stack.yaml file https://docs.haskellstack.org/en/stable/yaml_configuration/