There are a lot of compelling reasons to upgrade to deps.edn from Lein – decentralized package control, lighter footprint, better design (less conflation and “do it all” swiss-army-knife work, which makes for a more difficult system to understand and extend). But there are a number of commands I rely upon in leiningen and I cannot switch until I have working replacements for them. Now, most of these are covered in the excellent https://github.com/metabase/metabase/wiki/Migrating-from-Leiningen-to-tools.deps . But Sean Corfield, a major proponent of dep.edn, has mentioned that the metabase article is out-of-date for some of the commands and that there are more recent improvements. What are some of these?
For reference, here are the lein commands that are crucial to my work:
-
lein uberjar
:clojure -T:build uberjar
-
lein test
:clojure -X:dev:test
-
lein clean
: (clears all caches and targets; no solution listed for deps.edn) -
lein cljs build once
: (builds the cljs file, useful for checking for clojurescript errors; no solution listed for deps.edn) -
lein deploy
: (not listed; this may not be relevant once using deps.edn, but possible it will still be desirable to make clojars artifacts)While there are others that I use, these are the first to mind as crucial. Are there improvements to the metabase recommendations for these?