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

cabal cradle: Allow list of targets #397

Open
mpickering opened this issue Mar 17, 2023 · 2 comments
Open

cabal cradle: Allow list of targets #397

mpickering opened this issue Mar 17, 2023 · 2 comments

Comments

@mpickering
Copy link
Collaborator

When using a version of cabal which supports the multi repl then it is useful to be able to pass a list of targets to cabal repl when setting up GHC options. At the moment only one target seems to be supported because cabal repl only accepts one target.

@michaelpj
Copy link
Contributor

I think this is done?

@fendor
Copy link
Collaborator

fendor commented May 9, 2024

Not quite, as you cant write, for example:

cradle:
  cabal:
    component: ["lib:hie-bios", "exe:hie-bios"]

to load only these two components. You can only provide a single target, such as all, which will load all enabled targets.

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

No branches or pull requests

3 participants