No, because it doesn’t address that.
clojure
(clj
) only executes at most one -main
for each command you issue – so our build
shell script is just shorthand for running multiple commands. For example:
build test api uberjar api deploy api
runs the following:
cd <path>/api
clojure -A:test:runner
clojure -A:uberjar api.jar
clojure -A:deploy api.jar <user>@<server>
So it knows to switch the subproject folder (we have a monorepo with about thirty subprojects) and it knows about certain additional command line arguments and aliases that are needed for the various shortcut commands.