This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-24
Channels
- # announcements (1)
- # asami (10)
- # aws (1)
- # babashka (1)
- # beginners (105)
- # cider (13)
- # cljsrn (6)
- # clojure (42)
- # clojure-australia (4)
- # clojure-dev (7)
- # clojure-europe (26)
- # clojure-nl (2)
- # clojure-uk (13)
- # clojurescript (19)
- # code-reviews (3)
- # conjure (18)
- # core-async (4)
- # core-matrix (5)
- # cryogen (3)
- # datomic (27)
- # depstar (21)
- # emacs (2)
- # figwheel-main (9)
- # fulcro (18)
- # helix (7)
- # jobs (3)
- # jobs-discuss (15)
- # juxt (7)
- # kaocha (4)
- # lambdaisland (2)
- # leiningen (11)
- # luminus (1)
- # malli (6)
- # meander (9)
- # minimallist (4)
- # mount (3)
- # off-topic (3)
- # pathom (8)
- # pedestal (28)
- # rdf (13)
- # re-frame (7)
- # reagent (5)
- # shadow-cljs (3)
You can lein install
it into your local maven repo.
Or you can use "checkouts": https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#checkout-dependencies
@st3fan if you use lein install
to put a snapshot version of the lib into your maven cache, you can edit the library code and then load the file / form in your REPL
most editor integrations make this trivial, but even with a naked REPL load-file
is all you need
so the workflow becomes:
1. lein install
to put the current snapshot state of project a into the cache
2. lein repl
to run project b using that lib
3. load-file
or your editor integrations to the project b repl, to load redefinitions from project a on the fly
Thanks both! I missed that documentation about Checkout Dependencies ... looks like what I need!
I find the added complexity / brittleness of checkouts to be worse than the default of not using them, but cheers, whatever works
to be clear, those steps are how I develop two or more projects in parallel (I should have specified which project I did each step in...) (edited above to clafiry)
I can't tell you the exact way to do it without knowing your editor, but usually you don't use load-file directly, you just press some key in your editor with the file open