leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
jumar 2020-11-24T15:08:43.111400Z

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

2020-11-24T16:57:27.112700Z

@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

2020-11-24T16:57:56.113400Z

most editor integrations make this trivial, but even with a naked REPL load-file is all you need

2020-11-24T16:59:17.114700Z

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

st3fan 2020-11-24T18:00:47.115100Z

> Sometimes it is necessary to develop two or more projects in parallel

st3fan 2020-11-24T18:01:09.115700Z

Thanks both! I missed that documentation about Checkout Dependencies ... looks like what I need!

2020-11-24T18:01:41.116400Z

I find the added complexity / brittleness of checkouts to be worse than the default of not using them, but cheers, whatever works

2020-11-24T18:02:25.117Z

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)

st3fan 2020-11-24T18:03:36.117800Z

I'll find out - otherwise I will go the load-file route

2020-11-24T18:04:21.118600Z

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

st3fan 2020-11-24T18:34:20.119Z

Yeah now that I think of this - that totally makes sense