Closed drewinglis closed 4 years ago
Could lein-monolith optimistically consider all of each project's profiles as part of reality for the purpose of computing the topological order of projects? This would avoid needing to infer what a given each
command is going to try to do, and probably add more predictability in general. (Or maybe this is precisely what you are suggesting.)
If you have a project with a profile dependency on another project:
lein monolith each with-profile +test do clean, deps, install
will allowproject-b
to run beforeproject-a
, which can cause the build to fail. We should include profile information with the dependency calculation.