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
181 stars 63 forks source link

Add progress reporting support to cabal building #436

Open palas opened 5 months ago

palas commented 5 months 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