hdevtools
hdevtools copied to clipboard
How to use hdevtools with .cabal projects?
Hi, I didn't see contact information on the hdevtools GH page, so I'm filing a bug to contact you :)
Q: how can I use hdevtools with a cabal project? E.g., if my project has foo.cabal, does hdevtools somehow know how to use this?
If not, what is the expected workflow for working in a project that's built using .cabal?
hdevtools currently does not know anything about cabal. I have some experimental code that extracts the project settings from a .cabal
file, but it's not currently complete.
For now, you must configure hdevtools manually (in a similar way that you would for GHCi).
For details how to do this, check out the "Specifying GHC Options" section of the README.
https://github.com/bitc/hdevtools/pull/30