From 74bdd12a66070f6b623cbd2d1d93dabd3254f66c Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Tue, 15 Sep 2026 18:10:33 +0200 Subject: [PATCH] Publish to Clojars with bb --- bb.edn | 7 +++++-- build.clj | 2 +- deps.edn | 7 +------ 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/bb.edn b/bb.edn index b080a66..d11b610 100644 --- a/bb.edn +++ b/bb.edn @@ -1,3 +1,6 @@ -{:tasks {test:clj (clojure "-X:test") +{:deps {io.github.babashka/deps-deploy {:mvn/version "0.0.1"}} + :tasks {test:clj (clojure "-X:test") test:cljs (clojure "-M:test:cljs-test-runner") - publish (clojure "-T:build deploy")}} + publish {:extra-paths ["."] + :requires ([build]) + :task (build/deploy {})}}} diff --git a/build.clj b/build.clj index b1fdd94..fa524b8 100644 --- a/build.clj +++ b/build.clj @@ -55,7 +55,7 @@ (defn deploy [opts] (jar opts) - ((requiring-resolve 'deps-deploy.deps-deploy/deploy) + ((requiring-resolve 'babashka.deps-deploy/deploy) (merge {:installer :remote :artifact jar-file :pom-file (b/pom-path {:lib lib :class-dir class-dir})} diff --git a/deps.edn b/deps.edn index ac45def..a3a998e 100644 --- a/deps.edn +++ b/deps.edn @@ -12,9 +12,4 @@ {:extra-deps {olical/cljs-test-runner {:mvn/version "3.7.0"} org.clojure/clojurescript {:mvn/version "1.11.132"}} :extra-paths ["test" "cljs-test-runner-out/gen"] - :main-opts ["-m" "cljs-test-runner.main" "-d" "test"]} - - :build ;; added by neil - {:deps {io.github.clojure/tools.build {:git/tag "v0.10.3" :git/sha "15ead66"} - slipset/deps-deploy {:mvn/version "0.2.2"}} - :ns-default build}}} + :main-opts ["-m" "cljs-test-runner.main" "-d" "test"]}}}