-
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
Configuration for multiple cabal packages #14
Comments
Which branch of |
Ah, I’m not presently using |
I don't think hie-core supports multiple components currently. |
@mpickering is right. At the moment, one instance of |
Ahhh, I see! Thanks very kindly for the explanation 👍 |
I tried
After that, you get IDE feedback for both components. The main problem with this is still that |
We build https://github.com/github/semantic with
cabal
, and have two different cabal packages defined in the repo (semantic
andsemantic-core
), with disjoint sets of source files for each.Is there any way to tell
hie-bios
that I want to usecabal: {component: "lib:semantic"}
insrc
, andcabal: {component: "lib:semantic-core"}
insemantic-core/src
? I’ve tried adding separatehie.yaml
files in the root of the repo & thesemantic-core
dir, but it doesn’t seem to notice the latter, and so I only get results (usinghie-core
) shown for modules belonging tosemantic
. (On the other hand, if I add ahie.yaml
containingcradle: {cabal: {component: "lib:semantic-core"}}
to the root of the project, then I only get results shown for modules belonging tosemantic-core
.)I assume that I could do this via a
.hie-bios
program & the appropriatebios
cradle, but I’m not clear on how to generate the list of arguments it should return—I really do wantcabal
to generate them for me.The text was updated successfully, but these errors were encountered: