diff --git a/bb.edn b/bb.edn index 248692f..3209bc7 100644 --- a/bb.edn +++ b/bb.edn @@ -1,4 +1,6 @@ -{:paths ["script"] +{:paths ["bb"] + :deps {io.github.babashka/deps-deploy {:mvn/version "0.0.1" + :exclusions [org.babashka/http-client]}} :tasks {test:clj {:doc "Run jvm tests, optionally specify clj-version (ex. :clj-1.10 :clj-1.11(default) or :clj-all)" :task test-clj/-main} @@ -29,12 +31,8 @@ (fn [[_ match]] (str "#_:version " (pr-str version)))))))} - publish {:depends [refresh-version] - :task (clojure "-T:build deploy")} - - deploy {:doc "Build the jar and deploy it to Clojars, all in bb" - :extra-paths ["."] - :extra-deps {io.github.clojure/tools.build {:mvn/version "0.10.14"} - io.github.babashka/deps-deploy {:mvn/version "0.0.1"}} - :requires ([build]) - :task (build/deploy {})}}} + publish {:doc "Build the jar and deploy it to Clojars" + :depends [refresh-version] + :extra-paths ["."] + :requires ([build]) + :task (build/deploy {})}}} diff --git a/script/test_clj.clj b/bb/test_clj.clj similarity index 100% rename from script/test_clj.clj rename to bb/test_clj.clj diff --git a/deps.edn b/deps.edn index fbef5ad..d095671 100644 --- a/deps.edn +++ b/deps.edn @@ -20,9 +20,5 @@ io.github.borkdude/deflet {:mvn/version "0.1.0"}} :main-opts ["-m" "cognitect.test-runner"] :exec-fn cognitect.test-runner.api/test} - :build ;; added by neil - {:deps {io.github.clojure/tools.build {:git/tag "v0.9.6" :git/sha "8e78bcc"} - io.github.babashka/deps-deploy {:mvn/version "0.0.1"}} - :ns-default build} :dev {:extra-deps {hato/hato {:mvn/version "0.9.0"}}}}}