This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-04
Channels
- # announcements (19)
- # babashka (11)
- # babashka-sci-dev (9)
- # beginners (71)
- # calva (25)
- # cider (1)
- # clara (36)
- # clj-kondo (47)
- # clojure (65)
- # clojure-dev (64)
- # clojure-europe (9)
- # clojure-nl (2)
- # clojure-seattle (1)
- # clojure-uk (2)
- # clojured (8)
- # clojurescript (17)
- # cursive (9)
- # data-science (36)
- # datahike (11)
- # emacs (10)
- # figwheel-main (19)
- # fulcro (15)
- # graalvm (12)
- # humbleui (5)
- # introduce-yourself (3)
- # jobs (10)
- # leiningen (4)
- # lsp (24)
- # malli (7)
- # nextjournal (23)
- # off-topic (1)
- # pedestal (2)
- # polylith (6)
- # portal (1)
- # re-frame (3)
- # reitit (2)
- # releases (2)
- # remote-jobs (1)
- # reveal (9)
- # shadow-cljs (13)
- # spacemacs (6)
- # xtdb (3)
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?
repl says yes
As far as I'm aware it's only Cursive that doesn't like it https://github.com/cursive-ide/cursive/issues/2554
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
.
> 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).