Skip to content

Commit 71685aa

Browse files
committed
Setup ClojureScript test deps
1 parent ac442c9 commit 71685aa

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

dev/tasks/ci.clj

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(ns tasks.ci
22
(:require [tasks.check :refer [check check*]]
3-
[tasks.test :refer [test test*]]
3+
[tasks.test :refer [test test*] :as test]
44
[tasks.tools :refer [clj]]))
55

66
(def ^:private commands
@@ -13,6 +13,7 @@
1313
"-X:deploy"])
1414

1515
(defn setup []
16+
(test/setup)
1617
(doseq [command commands] (clj "-Sforce" "-Spath" command)))
1718

1819
(defn ci

dev/tasks/test.clj

+9
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@
3535
(install)
3636
(cljs* (get-cljs-deps) :portal.test-ui-runner))
3737

38+
(defn- setup* [version]
39+
(t/clj
40+
"-Sforce" "-Spath" "-Sdeps"
41+
(pr-str {:deps {'org.clojure/clojurescript {:mvn/version version}}})))
42+
43+
(defn setup []
44+
(setup* "1.10.773")
45+
(setup* "1.10.844"))
46+
3847
(defn cljs []
3948
(cljs-runtime "1.10.773")
4049
(cljs-runtime "1.10.844")

0 commit comments

Comments
 (0)