Fork me on GitHub
Oliver George03:09:12

Alex's clojure-install work seems to offer a much simpler arrangement for project setup. A single deps.edn file can define dependencies and allow command line repl and clojure.main execution.

Oliver George03:09:40

I presume there will be times when it is a sensible alternative to lein/boot

Oliver George03:09:22

For the moment, cursive wouldn't support this because it doesn't know deps or source files specified in the deps.edn file.

Oliver George03:09:38


{:deps {org.clojure/clojure {:type :mvn :version "1.9.0-alpha20"}
        my/src {:type :file :path "src"}}}


Well, I can get the deps from the file, but IIRC the src format wasn’t actually supported (unless that’s new)


There wasn’t any way to specify source roots, at least initially.


Interesting, thanks, I’ll take a look.

Oliver George03:09:14

Thanks Colin. Love your work as always.

Oliver George03:09:29

(Seems to be the {:type :file} bit which is new)

Alex Miller (Clojure team)19:09:35

And that's newer than the ref above

Alex Miller (Clojure team)19:09:27

The default user level deps.edn now includes a src/ root by default too


@alexmiller So I guess a dep of :type file is just a directory, and could contain compiled classes or source code, right? Is there any way to distinguish the two?