/deps-ancient

Primary LanguageClojureEclipse Public License 1.0EPL-1.0

Clojars Project

deps-ancient

deps-ancient is, well, ancient, so please use https://github.com/liquidz/antq instead.

deps-ancient is a small wrapper around ancient-clj which tells you if your deps.edn contains outdated deps.

Usage

Merge the following into your deps.edn under the :aliases key like so:

{:deps    {org.clojure/clojure       {:mvn/version "1.10.0"}
           org.clojure/clojurescript {:mvn/version "1.10.339"}  }

 :paths   ["src/cljc" "src/cljs" "target" "resources"]

 :aliases {:ancient   {:main-opts  ["-m" "deps-ancient.deps-ancient"]
                       :extra-deps {deps-ancient {:mvn/version "RELEASE"}}}
           :fig       {:main-opts ["-m" "figwheel.main"]}
           :build-dev {:main-opts ["-m" "figwheel.main" "-b" "dev" "-r"]}}
}

and invoke via: clojure -A:ancient

Or, if you're somewhat something, merge this to your project.clj

{:plugins [[deps-ancient "0.0.5"]]}

and run lein deps ancient to check your deps.edn files

Inspiration

Thanks to @pmonks for asking for this on the Clojurians #leiningen channel

License

Copyright © 2018 Erik Assum

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.