diff --git a/deps.edn b/deps.edn index a406a64..46047ad 100644 --- a/deps.edn +++ b/deps.edn @@ -16,4 +16,7 @@ "-d" "src/test/clojure"]} :cljs {:extra-deps {org.clojure/clojurescript {:mvn/version "1.11.132"}} - :main-opts ["-m" "cljs.main" "-re" "node" "-r"]}}} + :main-opts ["-m" "cljs.main" "-re" "node" "-r"]} + :cljs-build + {:extra-deps {org.clojure/clojurescript {:mvn/version "1.11.132"}} + :main-opts ["-m" "cljs.main" "-v" "-O" "advanced" "-o" "target/test.js" "-c" "clojure.core.unify-test-runner"]}}} diff --git a/src/test/clojure/clojure/core/unify_test_runner.cljs b/src/test/clojure/clojure/core/unify_test_runner.cljs new file mode 100644 index 0000000..0284f79 --- /dev/null +++ b/src/test/clojure/clojure/core/unify_test_runner.cljs @@ -0,0 +1,16 @@ +; Copyright (c) Rich Hickey. All rights reserved. +; The use and distribution terms for this software are covered by the +; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) +; which can be found in the file epl-v10.html at the root of this distribution. +; By using this software in any fashion, you are agreeing to be bound by +; the terms of this license. +; You must not remove this notice, or any other, from this software. + +(ns ^{:doc "A unification library for Clojure." + :author "Michael Fogus"} + clojure.core.unify-test-runner + (:require [clojure.core.unify-test] + [clojure.test :refer [run-tests]])) + +(run-tests + 'clojure.core.unify-test) \ No newline at end of file