This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-19
Channels
- # announcements (2)
- # babashka (1)
- # beginners (159)
- # biff (19)
- # clj-http (2)
- # clj-kondo (14)
- # clojure (105)
- # clojure-argentina (1)
- # clojure-art (3)
- # clojure-europe (17)
- # clojure-nl (1)
- # clojure-norway (10)
- # clojure-spain (1)
- # clojure-spec (3)
- # clojure-uk (26)
- # clojurescript (15)
- # conjure (4)
- # cursive (17)
- # datomic (8)
- # gratitude (1)
- # humbleui (1)
- # hyperfiddle (30)
- # joyride (10)
- # kaocha (1)
- # lsp (41)
- # malli (11)
- # off-topic (1)
- # pedestal (1)
- # polylith (12)
- # releases (1)
- # sci (4)
- # shadow-cljs (136)
- # squint (32)
- # tools-deps (28)
Howdy, big polylith fan here 馃檪 If I have two repos A and B and B is a polylith workspace - I want to pull in all or parts of B as a library into A using deps.edn's git url / sha feature, is this possible?
Yes. Create a project
in B that represents the "library" that you want to depend on and then A can have a git-dep on the whole B repo with :deps/root
pointing to "projects/the-library"
That's how my external test runner for Polylith works: https://github.com/seancorfield/polylith-external-test-runner
(it happens to have a CLI base as well but that's internal to the runner -- the runner itself is a library)
Nice, thanks a bunch @U04V70XH6, will give that a try 馃檪
Is it possible to nest components in sub-directories instead of having a flat directory of components? Seems like it would be, I've never tried it though.
Ah, after some searching in this channel I see that it is primarily just a flat structure in the components directory 馃憤
Ah, after some searching in this channel I see that it is primarily just a flat structure in the components directory 馃憤
Hiya folks. Wanted to see if anyone had examples of using the https://github.com/imrekoszo/polylith-kaocha running both CLJ and CLJS tests with a headless browser?
Hey there. I have no recent experience with cljs and never used it with kaocha (or polylith). But if this is doable in a normal project then it should be doable in p-k as long as polylith supports cljs to some extent. P-k is all about passing the correct classpath and kaocha config to kaocha invocations.
Thanks, @U08BJGV6E. Is there an example Koacha config that you've seen that allows for both CLJ/CLJS testing?