-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.boot
50 lines (44 loc) · 1.75 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
(set-env!
:dependencies '[[adzerk/bootlaces "0.1.13" :scope "test"]
[adzerk/boot-cljs "1.7.170-3"]
[adzerk/boot-reload "0.4.2"]
[compojure "1.4.0"]
[hoplon/boot-hoplon "0.1.13"]
[hoplon/castra "3.0.0-alpha3"]
[hoplon/hoplon "6.0.0-alpha10"]
[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.189"]
[pandeiro/boot-http "0.7.0"]
[ring "1.4.0"]
[ring/ring-defaults "0.1.5"]
[adzerk/cljs-console "0.1.1"]
[org.clojure/data.priority-map "0.0.7"]]
:resource-paths #{"src/clj" "src/cljs"})
(require
'[adzerk.boot-cljs :refer [cljs]]
'[adzerk.boot-reload :refer [reload]]
'[hoplon.boot-hoplon :refer [hoplon prerender]]
'[pandeiro.boot-http :refer [serve]]
'[adzerk.bootlaces :refer :all])
(def +version+ "0.2.0")
(bootlaces! +version+ :dont-modify-paths? true)
(task-options!
pom {:project 'hoplon/notify
:version +version+
:description "Passes notifications via castra to a hoplon client. Uses polling."
:url "https://github.com/hoplon/notify"
:scm {:url "https://github.com/hoplon/notify"}
:license {"EPL" "http://www.eclipse.org/legal/epl-v10.html"}})
(deftask dev
"Build project for development."
[]
(comp
(hoplon :manifest true)
(build-jar)))
(deftask deploy-release
"Build for release."
[]
(comp
(hoplon :manifest true)
(build-jar)
(push-release)))