Fork me on GitHub
#leiningen
<
2022-01-06
>
zendevil.eth11:01:22

It worked with the alias

zendevil.eth11:01:53

When I run lein run -m user, does it run the dev ns or the test ns because both have the same name?

mikerod15:01:38

You would want to ensure you do not put non-unique classnames on the classpath at the same time. You can manage that by being more careful with the :source-paths you specify for the profile.

mikerod15:01:49

so for the testing run, you could do something where you did not include the “dev” path

:source-paths ["test"]
Or use ^:replace metadata with all the explicit source paths if you need to fully override it

FiVo12:01:04

Hey, have not used leiningen in a while. Is there an equivalent of :local/root to point at another local leiningen project in leiningen?

vemv14:01:52

see "lein checkouts"