-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.boot
33 lines (28 loc) · 1.39 KB
/
build.boot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
(set-env! :resource-paths #{"src/clj" "src/cljs"}
:dependencies '[[org.clojure/clojurescript "1.8.40" :scope "provided"]
[org.clojure/core.async "0.2.374" :scope "provided"]
[boot-codox "0.9.5" :scope "test"]
[adzerk/bootlaces "0.1.13" :scope "test"]
[rum "0.8.1" :scope "test"]
[reagent "0.6.0-alpha" :scope "test"]
[crisptrutski/boot-cljs-test "0.2.2-SNAPSHOT"
:scope "test"]])
(require '[crisptrutski.boot-cljs-test :refer [test-cljs]]
'[adzerk.bootlaces :refer :all]
'[codox.boot :refer [codox]])
(def +version+ "0.1.0-SNAPSHOT")
(bootlaces! +version+ :dont-modify-paths? true)
(task-options!
pom {:project 'io.thdr/redux-cljs
:version +version+
:description "Redux implementation in ClojureScript."
:url "https://github.com/konukhov/redux-cljs"
:scm {:url "https://github.com/konukhov/redux-cljs"}
:license {"Eclipse Public License"
"http://www.eclipse.org/legal/epl-v10.html"}})
(deftask with-test-paths []
(merge-env! :source-paths #{"test/cljs"})
identity)
(deftask test []
(comp (with-test-paths)
(test-cljs)))