[Haskell-cafe] Searching for dependent code

Geraldus heraldhoi at gmail.com
Fri May 26 14:15:34 UTC 2023


Hello, dear Cafe!

I have a mono repository and would like to do the following for CI:
- take the files from the commit
- Find all the code that depends on them explicitly or implicitly
- make a list of executable files that need to be rebuilt

This happens in CI and there is no cache of previous builds. Note that
dependencies may not be direct, e.g:
- there are packages A, B, C.
- C depends only on B
- B depends on A
- C should be rebuilt if there were changes in A

Can you please tell me if there is any ready-made solution for this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20230526/0bb84c1f/attachment.html>


More information about the Haskell-Cafe mailing list