-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better support for nested repos or linked repos #305
Comments
Polylith is somewhat of a special animal in this sense. It provides the command line I created polylith-kaocha to serve as an interface between the two:
Because both poly and kaocha do a lot of special stuff I thought it's best to just let both do those and only connect them. |
We have at least one Lambda Island project set up this way, plus it comes up with client projects, so I think this is a worthwhile issue to consider working on in the near future. |
It is not uncommon for folks to have a single repo which contains multiple clojure "modules" or "packages" in subdirectories, each with their own
deps.edn
andtests.edn
. Or to be working on multiple related projects at once by using:local/root
indeps.edn
.Kaocha (in particular kaocha.runner and kaocha.repl) don't have a good story here, because they will only look for a
tests.edn
in the project's current working directory. You can point them to a different config file, but the (relative) paths provided in thetests.edn
won't resolve to the intended paths.Not sure yet how to best approach this, just leaving this here to be picked up and considered in the next development cycle.
I think the main mechanism that's needed is the ability to take multiple
[test-config root-dir-path]
pairs, and merge them into a single config, where source and tests paths have been adjusted accordingly.The text was updated successfully, but these errors were encountered: