diff --git a/bb.edn b/bb.edn index 892021f9..2ee4c1c3 100644 --- a/bb.edn +++ b/bb.edn @@ -24,5 +24,13 @@ :exec-args {:dirs ["test"]} :org.babashka/cli {:coerce {:nses [:symbol] :vars [:symbol]}}} - check-all {:depends [lint format-check test]} + check-deps-edn {:requires ([clojure.java.io :as io]) + :task (when (< (.lastModified (io/file "deps.edn")) + (.lastModified (io/file "bb.edn"))) + (throw (ex-info "deps.edn is outdated" {})))} + check-all {:depends [lint format-check test check-deps-edn]} + deps-edn {:requires ([clojure.java.io :as io]) + :task (do (shell {:out :write :out-file (io/file "deps.edn")} "echo ;; DO NOT EDIT THIS FILE DIRECTLY.") + (shell {:out :append :out-file (io/file "deps.edn")} "echo ;; This file is generated by 'bb deps-edn' command.") + (shell {:out :append :out-file (io/file "deps.edn")} "bb print-deps"))} outdated (clojure "-Sdeps '{:deps {com.github.liquidz/antq {:mvn/version \"RELEASE\"}}}' -M -m antq.core --upgrade")}} diff --git a/deps.edn b/deps.edn new file mode 100644 index 00000000..ec612a73 --- /dev/null +++ b/deps.edn @@ -0,0 +1,42 @@ +;; DO NOT EDIT THIS FILE DIRECTLY. +;; This file is generated by bb deps-edn command. +{:deps + {aero/aero {:mvn/version "1.1.6"}, + babashka/babashka.core + {:git/url "https://github.com/babashka/babashka.core", + :git/sha "52a6037bd4b632bffffb04394fb4efd0cdab6b1e"}, + babashka/babashka.curl {:mvn/version "0.1.2"}, + babashka/fs {:mvn/version "0.4.19"}, + babashka/process {:mvn/version "0.5.21"}, + cheshire/cheshire {:mvn/version "5.12.0"}, + clj-commons/clj-yaml {:mvn/version "1.0.27"}, + clojure-msgpack/clojure-msgpack {:mvn/version "1.2.1"}, + com.cognitect/transit-clj {:mvn/version "1.0.333"}, + com.github.liquidz/merr {:mvn/version "0.4.193"}, + com.stuartsierra/component {:mvn/version "1.1.0"}, + com.taoensso/timbre {:mvn/version "6.0.1"}, + dev.weavejester/medley {:mvn/version "1.7.0"}, + exoscale/interceptor {:mvn/version "0.1.16"}, + hiccup/hiccup {:mvn/version "2.0.0-RC1"}, + http-kit/http-kit {:mvn/version "2.7.0-RC1"}, + insn/insn {:mvn/version "0.5.2"}, + metosin/malli {:mvn/version "0.14.0"}, + nrepl/bencode {:mvn/version "1.1.0"}, + org.babashka/babashka.impl.java {:mvn/version "0.1.8"}, + org.babashka/cli {:mvn/version "0.7.53"}, + org.babashka/http-client {:mvn/version "0.4.15"}, + org.babashka/sci.impl.types {:mvn/version "0.0.2"}, + org.clojure/clojure {:mvn/version "1.11.1"}, + org.clojure/core.async {:mvn/version "1.6.673"}, + org.clojure/core.match {:mvn/version "1.0.0"}, + org.clojure/core.rrb-vector {:mvn/version "0.1.2"}, + org.clojure/data.csv {:mvn/version "1.0.0"}, + org.clojure/data.priority-map {:mvn/version "1.1.0"}, + org.clojure/data.xml {:mvn/version "0.2.0-alpha8"}, + org.clojure/test.check {:mvn/version "1.1.1"}, + org.clojure/tools.cli {:mvn/version "1.0.214"}, + org.clojure/tools.logging {:mvn/version "1.1.0"}, + org.flatland/ordered {:mvn/version "1.5.9"}, + rewrite-clj/rewrite-clj {:mvn/version "1.1.47"}, + selmer/selmer {:mvn/version "1.12.59"}}, + :paths ["src"]}