-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.boot
74 lines (61 loc) · 1.93 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
#!/usr/bin/env boot
(set-env!
:source-paths #{"test"}
:resource-paths #{"resources" "src"}
:dependencies '[;; Boot
[adzerk/boot-test "1.1.1"]
[adzerk/bootlaces "0.1.13"]
;; Language libraries
[org.clojure/clojure "1.9.0-alpha4"]
[org.clojure/core.async "0.2.374"]
;; Datomic
[datascript "0.15.0"]
[com.datomic/datomic-free "0.9.5372"]
[datomic-schema "1.3.0"]
;; Others
[bouncer "1.0.0"]
[com.rpl/specter "0.11.0"]
[org.omcljs/om "1.0.0-alpha36"]
;; Tests
[org.clojure/test.check "0.9.0"]])
(require '[adzerk.boot-test :refer [test]]
'[adzerk.bootlaces :refer :all]
'[boot.git :refer [last-commit]])
(def +project+ 'workflo/brahman)
(def +version+ "0.4.3-SNAPSHOT")
(bootlaces! +version+ :dont-modify-paths? true)
(task-options!
pom {:project +project+
:version +version+
:description (str "A universe of backends for Om Next & "
"other CQRS systems")
:url "https://github.com/workfloapp/brahman"
:scm {:url "https://github.com/workfloapp/brahman"}
:license {"GNU Lesser General Public License 2.1"
"http://www.gnu.org/licenses/lgpl-2.1.html"}}
push {:repo "deploy-clojars"
:ensure-branch "master"
:ensure-clean true
:ensure-tag (last-commit)
:ensure-version +version+})
(deftask test-auto
[]
(comp (watch)
(test)))
(deftask install-local
[]
(comp (pom)
(jar)
(install)))
(deftask deploy-snapshot
[]
(comp (pom)
(jar)
(build-jar)
(push-snapshot)))
(deftask deploy-release
[]
(comp (pom)
(jar)
(build-jar)
(push-release)))