This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-13
Channels
- # announcements (2)
- # aws (4)
- # babashka (14)
- # beginners (186)
- # cljdoc (2)
- # cljsrn (7)
- # clojure (56)
- # clojure-austin (1)
- # clojure-australia (2)
- # clojure-europe (46)
- # clojure-france (5)
- # clojure-nl (16)
- # clojure-norway (7)
- # clojure-spec (76)
- # clojure-sweden (15)
- # clojure-uk (13)
- # clojurescript (60)
- # code-reviews (2)
- # conjure (8)
- # datascript (1)
- # datomic (4)
- # depstar (10)
- # emacs (9)
- # events (4)
- # exercism (1)
- # fulcro (36)
- # graalvm (8)
- # introduce-yourself (3)
- # jobs-discuss (2)
- # kaocha (14)
- # lsp (1)
- # minecraft (8)
- # new-channels (1)
- # off-topic (3)
- # pathom (6)
- # polylith (9)
- # re-frame (48)
- # shadow-cljs (5)
- # specter (26)
- # tools-deps (19)
- # vim (2)
- # vscode (1)
Hi everyone! I’ve added a https://polylith.gitbook.io/polylith/architecture/bring-it-all-together page to the high-level doc, which hopefully will help people, new to Polylith, understand better how it can be used in practice. I also added a “Blog posts” section to the https://polylith.gitbook.io/polylith/conclusion/next-steps page. Enjoy!


Updated! Thanks!
In the deps.edn file of the poly tool, I can see that there's a https://github.com/polyfy/polylith/blob/ad5693b5f0a7ec7bdbab56e94c02ca7df120f1a9/deps.edn#L32-L71. Am I right to assume that the recommended way to define dev dependencies on bricks for a polylith monorepo is with local/root coordinates under extra-deps? (I am not using cursive so I'm probably not affected by the bug you mention in the comment)
Yes, you can use the :local-root
syntax in the root deps.edn
file. When doing that, make sure you also specify the tests as paths (`:aliases > :test > :extra-paths`). This should work in most IDEs. Tor the projects under the projects
directory, the :local-root
statements are enough, at least if you use the built in test runner.
> make sure you also specify the tests as paths (`:aliases > :test > :extra-paths`)
@U1G0HH87L could I express the tests as extra-deps
too? In Emacs/Cider it works for me without problem or is there any reason why you think it is better to keep the tests in extra-paths
?
Then I guess it’s fine. It’s just that in tools.deps.alpha
the tests are not included when you include code via :local/root
but maybe different IDES’s do that anyway.
