As I mentioned in Migrating from Boot back to Leiningen, we have a setup with multiple builds (editor, eval_worker, renderer), and multiple “targets” (dev, test, prod).
So this means you get 3x3 separate build configurations. We have some code to generate these for us so we don’t have to maintain 9 different build configs. As people adopt ClojureScript more I think this will become more common, e.g. to have an admin-backend + a user facing frontend as separate builds, each with dev, test, prod.
It seems shadow-cljs has better support for this than the alternatives, with built-in dev and release modes, and with the ability to specify multiple builds, but what these do is (I think) hardcoded. E.g. we run our tests on node, so we’d like a
:test target for each build that has
:target :nodejs. Is that something that might be possible in the future? What would such a “matrix” setup look like?