Fork me on GitHub
#clojure-nl
<
2020-03-21
>
kwrooijen11:03:05

So I just migrated my cljs project to deps.edn from Lein. Seems to start up slightly faster now

kwrooijen11:03:41

Wondering if maybe I should just use shadow-cljs.edn though

kwrooijen11:03:39

Also, deps.edn is purely dependency management? I can't really find info on deploying to clojars with deps.edn

borkdude11:03:59

@kevin.van.rooijen check the tools.deps wiki

borkdude11:03:18

and/or join the #tools-deps channel, better than asking in this cozy Dutch channel

kwrooijen11:03:52

Well was just dropping it here since we were talking about it not too long ago 🙂

borkdude11:03:19

true that 🙂

borkdude11:03:54

the people in #tools-deps are very helpful though. btw, I do use deps.edn but for some stuff like deploying I just use lein, cause it works

kwrooijen11:03:50

All right, guess it might not be for everything

borkdude11:03:24

on the wiki they list tools that can do uberjar, deploy to clojars. it's just not built in

kwrooijen11:03:32

But to be honest, I like lein, just trying to figure out why I'd want to switch

kwrooijen11:03:02

And I find it a bit more user friendly / intuitive.

lein new app myapp
vs
clj -Sdeps '{:deps
              {seancorfield/clj-new
                {:mvn/version "0.9.0"}}}' \
  -m clj-new.create \
  app \
  myapp

kwrooijen11:03:37

Of course you can create a user alias for this to make it easier. But if you're tying to get new users hooked, I don't find it really great

borkdude12:03:22

the benefit of tools.deps I find is that it's faster and it supports git deps.

borkdude12:03:13

@kevin.van.rooijen co-incidentally I'm now going to listen to a podcast with Alex Miller about tools.deps

kwrooijen12:03:38

Oh, maybe that would be a good one for me 🙂

kwrooijen12:03:46

And yeah git deps are a big plus, I agree

kwrooijen12:03:14

Using lein-gitdown for that, but too bad it's not supported directly by lein. Also I think it might have some dependency resolving issues but I'm not sure.