haskell-code-explorer icon indicating copy to clipboard operation
haskell-code-explorer copied to clipboard

[WIP] Port to cabal-helper-1.0 (git)

Open DanielG opened this issue 6 years ago • 2 comments
trafficstars

I'm working on fleshing out the cabal-helper-1.0 API, figured I should see how bad I broke things using the old API so I decided to give porting this project a go. I had to tweak a few things but not too bad overall.

I also fixed compileVersion being too slow (see the discussion here). It only depends on the setup-config header for V1 projects now.

DanielG avatar Apr 01 '19 19:04 DanielG

Thank you Daniel!

It would be great to use the new version of cabal-helper.

I guess I should think about how to index multiple packages at once: https://github.com/alexwl/haskell-code-explorer/blob/63ad1f682e64cb6b854e399ed12af3a9986241f8/src/HaskellCodeExplorer/PackageInfo.hs#L162-L164

Also, thank you for the fixed compilerVersion query.

alexwl avatar Apr 01 '19 23:04 alexwl

Yeah, indexing multiple packages would also make things easier for users because you can just let the indexer loose on a whole cabal/stack project rather than just one package :)

DanielG avatar Apr 02 '19 13:04 DanielG