This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-16
Channels
- # announcements (2)
- # asami (124)
- # babashka (30)
- # babashka-sci-dev (73)
- # beginners (40)
- # biff (1)
- # calva (39)
- # clj-kondo (54)
- # clj-otel (1)
- # cljdoc (59)
- # cljs-dev (8)
- # clojars (2)
- # clojure (96)
- # clojure-austin (16)
- # clojure-boston (6)
- # clojure-europe (51)
- # clojure-nl (1)
- # clojure-norway (1)
- # clojure-russia (60)
- # clojure-uk (4)
- # clojurescript (34)
- # community-development (6)
- # cursive (2)
- # datahike (10)
- # datascript (18)
- # emacs (109)
- # etaoin (1)
- # events (3)
- # figwheel-main (41)
- # fulcro (13)
- # helix (4)
- # introduce-yourself (5)
- # jobs (1)
- # leiningen (5)
- # lsp (8)
- # malli (6)
- # meander (7)
- # nrepl (6)
- # off-topic (60)
- # pathom (29)
- # polylith (8)
- # re-frame (5)
- # reitit (1)
- # releases (1)
- # remote-jobs (1)
- # rewrite-clj (33)
- # sci (3)
- # shadow-cljs (3)
- # xtdb (82)
Hi everyone! I have added support for multiple source directories, and I would be happy if you could try it out before I merge it to master. The branch is named https://github.com/polyfy/polylith/tree/issue-206 and you can use the latest commit sha cb8edbf02187ee940602ba88892150a260edeeff
. Thanks!
I haven't looked at this yet but does it support alias resolution?
> cat deps.edn
{:paths [:source]
:aliases
{:source ["foo"]}}
> cat foo/core.clj
(ns core)
(println "Hello from foo/core.clj!")
> clj
Clojure 1.11.1
user=> (require 'core)
Hello from foo/core.clj!
nil
No, we don’t support that. It shouldn’t be too hard to support. I will have a look (but not today!).
I can't remember whether t.d.a. exposes an API for that but I think, right now, :paths
(and :extra-paths
) are the only two built-in things that support alias data substitution. Some other tools support it (`depstar` supported it for all arguments, I believe deps-deploy
does as well) but it is not widespread. Yet.
That's one of the weirder things about tools.deps, with almost no googleable documentation
Good job it's right there in the reference docs then, eh? 😁