woah. make + prolog.
https://github.com/evoldoers/biomake
GNU-Make-like utility for managing builds and complex workflows - evoldoers/biomake