-
Notifications
You must be signed in to change notification settings - Fork 20
/
build.boot
55 lines (46 loc) · 1.71 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
(set-env!
:dependencies
'[[org.clojure/clojure "1.7.0" :scope "provided"]
[org.clojure/clojurescript "1.7.228" :scope "provided"]
;; packaged dependencies
[com.firebase/firebase-client-jvm "2.5.2" :exclusions [org.apache.httpcomponents/httpclient]]
[cljsjs/firebase "2.4.1-0"]
[org.apache.httpcomponents/httpclient "4.5.2"]
;; optional namespace dependencies
[org.clojure/core.async "0.2.374" :scope "provided"]
[reagent "0.6.0-alpha" :scope "provided"]
[frankiesardo/linked "1.2.6" :scope "provided"]
;; build tooling
[adzerk/boot-cljs "1.7.228-1" :scope "test"]
[adzerk/bootlaces "0.1.13" :scope "test"]
[adzerk/boot-test "1.1.1" :scope "test"]
[crisptrutski/boot-cljs-test "0.2.2-SNAPSHOT" :scope "test"]]
:source-paths #{"src"})
(require
'[adzerk.bootlaces :refer :all]
'[adzerk.boot-cljs :refer :all]
'[adzerk.boot-test :refer :all]
'[crisptrutski.boot-cljs-test :refer [test-cljs]])
(def +version+ "0.0.10-SNAPSHOT")
(bootlaces! +version+)
(task-options!
pom {:project 'matchbox
:version +version+
:description "Firebase bindings for Clojure(Script)"
:url "http://github.com/crisptrutski/matchbox"
:scm {:url "http://github.com/crisptrutski/matchbox"}}
aot {:namespace #{'matchbox.clojure.android-stub}}
test-cljs {:js-env :phantom})
(deftask deps [] identity)
(deftask testing []
(merge-env! :source-paths #{"test"})
identity)
(deftask watch-js [] (comp (testing) (watch) (test-cljs)))
(deftask watch-jvm [] (comp (aot) (testing) (watch) (test)))
(deftask ci []
(task-options!
test {:junit-output-to "junit-out"}
test-cljs {:exit? true})
(comp (aot) (testing) (test) (test-cljs)))
(deftask build []
(comp (pom) (aot) (jar)))