Creates or updates your deps.edn file, based on your project’s project.clj.
clj -Sdeps '{:deps {github-mfikes/depify {:git/url "https://github.com/mfikes/depify" :sha "823781f640507c489ed88bc87679216e95ffb3e1"}}}' -m depify.project
Running arbitrary Clojure code from an arbitrary URL on the internet is known to cause cancer. But hey, if it feels good, go ahead and do it.
Based on the initial concept in this gist by Sean Walker. Depify improves on it slightly:
project.clj
(def something "0.1.2")
(defproject foobar
:dependencies [[something/gizmo ~something]])
deps.edn
{:deps #:something{gizmo #:mvn{:version "0.1.2"}}}
project.clj
(defproject foobar
:respositories [["dracular" "https//transy.edu"]]
:dependencies [[something/gizmo "9.9.9"]
[org.apache/another-database "1.2.3" :exclusions [logging-nightmare]]]
:jvm-opts ["-XX:+EnormousBiceps"])
deps.edn
{:deps
{something/gizmo #:mvn{:version "9.9.9"},
org.apache/another-database
{:mvn/version "1.2.3", :exclusions [logging-nightmare]}},
:jvm-opts ["-XX:+EnormousBiceps"]}