-
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 optional list of components to stack cradle options #65
Comments
I think this is an issue with how |
Currently, yes, ghcide does that. It's something that needs fixing at some point. |
I'm not sure if this is the same issue, but I'm not sure how to get
@ndmitchell I'm pretty sure you showed dogfooding the ghcide program in your own code, so I'm missing something obvious, I assume. |
I've hit the same issue than @afcowie using directly
But clearly it is a separate issue: |
@afcowie I don't know how to reproduce your issue but I would like to if you can tell me how. @jneira I reproduce your issue. The problem is that |
@mpickering ok, let's see. As far as I can tell it's any project with e.g. a Do you want an example project you can clone/unpack and try for yourself? |
You can now explicitly specify a component. |
Hi @mpickering, sorry to ask here but it seems relevant, will this:
also load the
? |
You can do this with a mulit-cradle, e.g. cradle:
stack:
- path: "./src"
component: "myproject:lib"
- path: "./test"
component: "myproject:test:myproject-tests"
|
This would allow you to use the
stack
cradle in a context where you may not want to load every package defined in yourstack.yaml
at once (e.g. in a big monorepo).The text was updated successfully, but these errors were encountered: