Fork me on GitHub
#polylith
<
2022-03-04
>
Pieter Koornhof10:03:18

I just want to double check. Instead of adding components via :extra-paths to the development deps.edn, can I just add them via extra-deps local-root for the dev and test aliases?

imre11:03:11

As far as I'm aware it's only Cursive that doesn't like it https://github.com/cursive-ide/cursive/issues/2554

tengstrand11:03:45

You will run into problems if you use Cursive, but if you don’t then you can use the :local/root syntax even in ./deps.edn.

seancorfield12:03:12

> I just add them via extra-deps local-root for the dev and test aliases For the :dev alias, yes, :extra-deps/`:local/root` will work (except for in Cursive). For the :test alias, that still has to be :extra-paths (because tests are not brought in for dependencies by tools.deps.alpha -- or Maven).

👍 2
imre13:03:32

oh yeah forgot about test namespaces