-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.boot
85 lines (78 loc) · 3.01 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
(set-env! :dependencies '[[adzerk/bootlaces "0.1.11" :scope "test"]])
(require '[adzerk.bootlaces :refer :all])
(def +re-source-files+ #"(^.*\.clj[cs]?)$")
(deftask cuss
"Set env and task options for ion.cuss tasks."
[]
(let [version "0.1.0-SNAPSHOT"]
(bootlaces! version)
(set-env!
:dependencies '[[garden "1.2.5"]]
:resource-paths #{"src/ion/cuss"})
(task-options!
pom {:project 'ion/cuss
:version version
:description "ClojureScript CSS Utilities"
:license {"EPL" "http://www.eclipse.org/legal/epl-v10.html"}
:scm {:url "https://github.com/decomplect/ion/src/ion/cuss"}
:url "https://github.com/decomplect/ion#cuss"}
sift {:move {+re-source-files+ "ion/cuss/$1"}})
identity))
(deftask ergo
"Set env and task options for ion.ergo tasks."
[]
(let [version "0.1.0-SNAPSHOT"]
(bootlaces! version)
(set-env!
:dependencies '[[criterium "0.4.3"]]
:resource-paths #{"src/ion/ergo"})
(task-options!
pom {:project 'ion/logo
:version version
:description "Clojure(Script) Ergo DSL"
:license {"EPL" "http://www.eclipse.org/legal/epl-v10.html"}
:scm {:url "https://github.com/decomplect/ion/src/ion/ergo"}
:url "https://github.com/decomplect/ion#ergo"}
sift {:move {+re-source-files+ "ion/ergo/$1"}})
identity))
(deftask omni
"Set env and task options for ion.omni tasks."
[]
(let [version "0.1.0-SNAPSHOT"]
(bootlaces! version)
(set-env!
:dependencies '[[org.clojure/core.async "0.1.346.0-17112a-alpha"]]
:resource-paths #{"src/ion/omni"})
(task-options!
pom {:project 'ion/omni
:version version
:description "ClojureScript Event Loop"
:license {"EPL" "http://www.eclipse.org/legal/epl-v10.html"}
:scm {:url "https://github.com/decomplect/ion/src/ion/omni"}
:url "https://github.com/decomplect/ion#omni"}
sift {:move {+re-source-files+ "ion/omni/$1"}})
identity))
(deftask poly
"Set env and task options for ion.poly tasks."
[]
(let [version "0.1.0-SNAPSHOT"]
(bootlaces! version)
(set-env!
:dependencies '[[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[spellhouse/phalanges "0.1.6"
:exclusions [com.cemerick/austin
org.clojure/clojure]]]
:resource-paths #{"src/ion/poly"})
(task-options!
pom {:project 'ion/poly
:version version
:description "ClojureScript Application Utilities"
:license {"EPL" "http://www.eclipse.org/legal/epl-v10.html"}
:scm {:url "https://github.com/decomplect/ion/src/ion/poly"}
:url "https://github.com/decomplect/ion#poly"}
sift {:move {+re-source-files+ "ion/poly/$1"}})
identity))
(deftask build
"The pom/sift/jar/install of a library."
[]
(comp (pom) (sift) (jar) (install)))