This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-25
Channels
- # announcements (4)
- # asami (26)
- # babashka (82)
- # beginners (27)
- # biff (6)
- # boot (1)
- # calva (42)
- # cider (2)
- # clj-commons (1)
- # clj-http-lite (2)
- # clj-kondo (37)
- # cljdoc (1)
- # clojure (46)
- # clojure-europe (34)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-uk (2)
- # clojurescript (54)
- # code-reviews (18)
- # cursive (2)
- # datalevin (32)
- # datomic (7)
- # etaoin (1)
- # fulcro (9)
- # gratitude (3)
- # hyperfiddle (15)
- # introduce-yourself (1)
- # jobs (2)
- # lsp (32)
- # nrepl (1)
- # off-topic (18)
- # pathom (17)
- # pedestal (5)
- # polylith (89)
- # reitit (7)
- # releases (3)
- # remote-jobs (4)
- # shadow-cljs (52)
- # spacemacs (3)
- # squint (14)
- # tools-build (10)
- # tools-deps (18)
- # vim (4)
- # xtdb (34)
The https://clojure.org/guides/tools_build#_compiled_uberjar_application_build recommends adding a dependency on tools.build to the :deps
of an alias. My understanding is that -T
ignores :extra-deps
. If I want to be able to call my build functions from the Clojure REPL in development is the right thing to add an additional dependency on tools.build to the :extra-deps
of a development alias?
:deps
and :extra-deps
in an alias are synonyms
so use either
you will likely also want to add :paths
or :extra-paths
(again, synonyms) of ["."]
why two different named things that do the same thing? naming is hard, yo
And that -T
ignores :extra-deps
, per this: https://clojurians.slack.com/archives/C6QH853H8/p1595955792137500
that's actually in reference to an entirely different -T that was added temporarily in a dev release then removed, that did something different than the current -T
sorry, I may have actually completely confused things above - in aliases, :deps
is a synonym for :replace-deps
and :paths
is a synonym for :replace-paths
. And those are separate from :extra-deps
and :extra-paths
. But none of them are ignored.