This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-05
Channels
- # beginners (46)
- # calva (89)
- # cider (24)
- # clara (7)
- # clj-kondo (36)
- # clojure (33)
- # clojure-australia (4)
- # clojure-dev (9)
- # clojure-europe (15)
- # clojure-israel (1)
- # clojure-nl (1)
- # clojure-uk (13)
- # clojurescript (55)
- # community-development (38)
- # conjure (1)
- # cryogen (12)
- # cursive (16)
- # data-science (4)
- # datomic (39)
- # events (2)
- # fulcro (5)
- # gorilla (3)
- # introduce-yourself (3)
- # jobs (9)
- # kaocha (5)
- # malli (16)
- # music (12)
- # off-topic (11)
- # polylith (4)
- # react (4)
- # reactive (1)
- # reagent (18)
- # remote-jobs (2)
- # reveal (2)
- # sci (4)
- # shadow-cljs (31)
- # timbre (4)
- # tools-build (70)
- # tools-deps (11)
- # vim (33)
- # xtdb (53)
Hi, just to be 100% certain before I initiate the work:
To use :local/root
to depend on the source files of a local project, the required project need to have a deps.edn file, right? In other words a the project.clj file of that lein lib is of no use?
More specifically I got it to work by adding a deps.edn side-by-side with the project.clj, but I’m not sure if that might have some undesirable side-effect, or if I just missed how to “integrate” with Leiningen.
Thanks, I came across that one, but juts wanted to ask in case there was something else that would help.
Hmm, I’m not familiar with pom apart from fiddling with it to get a deps project to create an uberjar a while back. How often will it have to be updated? During my experiments yesterday, my main project seemed to hot-reload code when the lib code changed. Will that work if using pom?
I could also just change my libraries to be deps.edn based. I’m just not sure how easy it is to generate and deploy compared to lein.
Now that tools.build
exists, it's pretty easy to create library and application JAR files for deployment, and it provides a whole toolkit of build-related functions.