At Build

Configuration at build is achieved by enabling aliases that select one or more extra source directories (by convention stored under env/<alias name>/clj/).

These aliases are enabled as other aliases by using the -M and then adding a colon separated list of alias names. So to enable the test sources and kaocha functionality one would supply the flag -M:test:kaocha.

The aliases are defined in deps.edn.