haskell / hie-bios

Set up a GHC API session for various Haskell Projects
https://hackage.haskell.org/package/hie-bios
BSD 3-Clause "New" or "Revised" License
177 stars 61 forks source link

Add progress reporting support to cabal building #436

Open palas opened 3 weeks ago

palas commented 3 weeks ago

This PR adds a tiny parser to readCabalProcessWithProgress and it takes a new reporting function as a parameter that can be used to notify the caller about the progress of the building (how many dependencies to build and how many have been built so far). The motivation is to support HLS on this issue: https://github.com/haskell/hie-bios/issues/405