This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-27
Channels
- # announcements (7)
- # aws (1)
- # beginners (42)
- # calva (65)
- # clj-kondo (5)
- # cljs-dev (11)
- # clojure (69)
- # clojure-australia (7)
- # clojure-dev (4)
- # clojure-europe (9)
- # clojure-gamedev (2)
- # clojurescript (2)
- # conjure (4)
- # cursive (1)
- # data-science (1)
- # datomic (8)
- # events (1)
- # fulcro (35)
- # graalvm-mobile (40)
- # introduce-yourself (1)
- # lsp (26)
- # malli (14)
- # mathematics (2)
- # missionary (5)
- # nextjournal (4)
- # off-topic (4)
- # polylith (10)
- # shadow-cljs (5)
- # test-doc-blocks (1)
- # tools-build (24)
- # tools-deps (1)
- # xtdb (12)
poly test
was failing, trying to require (quote )
namespace. Turns out there was a stray editor save file with a …-test.clj name but no content. Maybe the poly
command could be more robust to this.
I'm looking at https://github.com/furkan3ayraktar/clojure-polylith-realworld-example-app/blob/master/deps.edn for understanding better the changes that got introduced with workspace.edn. My question is that at the root deps.edn for the development project components are added the old-fashioned way as extra-paths and their dependencies as extra-deps, while the production project adds them as deps with the :local/root
syntax. Can't i do the same for my dev project?
@U0105D1EL4B Yes, the "correct" way is via :extra-deps
and :local/root
deps -- which is what the docs says BUT Cursive cannot currently find source code referenced that way so the :extra-paths
approach is a workaround purely for Cursive.
I see @U04V70XH6 thanks for the tip.
@U04V70XH6 It seems weird though, i import my components using the :extra-deps
and `:local/root` deps and cursive seems to index my dev project and components just fine.
Then maybe Cursive also fixed their bug?
Colin said that he was going to look into this, and also have a meeting with us in the Polylith team when he had time. He hasn’t reached back to us yet and the https://github.com/cursive-ide/cursive/issues/2554 is not marked as resolved, so I don’t know the status of it.