Fork me on GitHub
#tools-deps
<
2021-08-18
>
cfleming03:08:05

For those having problems with Cursive and git deps with recent versions of Deps, the new EAP fixes it: https://twitter.com/CursiveIDE/status/1427831439660179465

🎉 9
imre13:08:20

works on my machine 🙂

dominicm20:08:41

https://github.com/clojure/tools.deps.graph I'm surprised there're no instructions for use with -T !

dominicm20:08:49

(ah, there is on http://clojure.org though)

dominicm20:08:01

I give up, what am I doing wrong?

~
❯ clj -Ttools
Error building classpath. Bad coordinate for library , expected map: nil

seancorfield20:08:21

clojure -Ttools <command> <args>

seancorfield20:08:46

e.g., clojure -Ttools install lib/name '{coords}' :as alias

seancorfield20:08:58

and then clojure -T<alias> <args>

seancorfield20:08:47

@dominicm Like on the README for clj-new:

clojure -Ttools install com.github.seancorfield/clj-new '{:git/tag "v1.1.331"}' :as clj-new
# create a new app:
clojure -Tclj-new app :name myname/myapp
# create a new library:
clojure -Tclj-new lib :name myname/mylib
# create a new template:
clojure -Tclj-new template :name myname/mytemplate
# create a new project from a public template:
clojure -Tclj-new create :template electron-app :name myname/myelectron-app