From 45c82dab2e6c7015948ca67939c70db13a50174b Mon Sep 17 00:00:00 2001 From: daslu Date: Wed, 16 Oct 2024 23:49:25 +0300 Subject: [PATCH] simplified build script --- build.clj | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/build.clj b/build.clj index 8f8bee4..23e01d7 100644 --- a/build.clj +++ b/build.clj @@ -20,15 +20,14 @@ (def class-dir "target/classes") (defn test "Run all the tests." [opts] - (doseq [alias [:1.11 :1.12 :master]] - (println "\nRunning tests for Clojure" (name alias)) - (let [basis (b/create-basis {:aliases [:test alias]}) - cmds (b/java-command - {:basis basis - :main 'clojure.main - :main-args ["-m" "cognitect.test-runner"]}) - {:keys [exit]} (b/process cmds)] - (when-not (zero? exit) (throw (ex-info "Tests failed" {}))))) + (println "\nRunning tests for Clojure") + (let [basis (b/create-basis {:aliases [:test]}) + cmds (b/java-command + {:basis basis + :main 'clojure.main + :main-args ["-m" "cognitect.test-runner"]}) + {:keys [exit]} (b/process cmds)] + (when-not (zero? exit) (throw (ex-info "Tests failed" {})))) opts) (defn- pom-template [version]