I'm still getting my head around tools-build: Is there a useful heuristic for when to run something in a separate process and when to have a library as a dependency and call into it with a normal function call?
In general I would stay in process unless there’s some reason you can’t
For example the compile-clj step relies on a different classpath than the build itself so it’s pushed out to a process