Fork me on GitHub
#tools-deps
<
2018-10-31
>
timgilbert21:10:46

Say, anybody got something that works similarly to lein-try, where I can lein try clojure-lanterna and fire up a REPL with the latest version loaded?

jeff.terrell21:10:28

Relative newbie here, but I think the -Sdeps option covers that use case, no?

timgilbert21:10:05

I'm thinking in a bare directory with no existing deps.edn present

ghadi21:10:14

yup, that's what it's for

dominicm21:10:17

I would use find deps

timgilbert21:10:00

Think that'll work, thanks @dominicm

lilactown21:10:13

I use these bash aliases to try out new deps in a nice REPL: https://gist.github.com/Lokeh/a67bb2dc9295d7990d9f8525f478457c

seancorfield21:10:15

clj -Sdeps '{:deps {clojure-lanterna {:mvn/version "RELEASE"}}}' -- or you can use "LATEST" to look for snapshots instead.

seancorfield21:10:50

I use a command like that all the time when I just want to try out a library without any setup.

seancorfield21:10:04

That looks like a fun library @timgilbert -- are you planning to build something public or is it just for fun?

timgilbert23:10:17

Just for fun, was looking at some roguelike things from a HN post earlier today