-
Notifications
You must be signed in to change notification settings - Fork 25
/
build.boot
47 lines (38 loc) · 1.37 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
(def +version+ "0.1.19")
(set-env!
:source-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.10.1"]
;; boot clj
[boot/core "2.7.1" :scope "provided"]
[adzerk/bootlaces "0.1.13" :scope "test"]
[adzerk/boot-test "1.0.6" :scope "test"]
[tolitius/boot-check "0.1.13" :scope "test"]])
(require '[adzerk.bootlaces :refer :all]
'[tolitius.boot-check :as check]
'[adzerk.boot-test :as bt])
(bootlaces! +version+)
(defn uber-env []
(set-env! :source-paths #(conj % "test"))
(set-env! :resource-paths #(conj % "dev-resources"))
(System/setProperty "conf" "dev-resources/config.edn"))
(deftask dev []
(uber-env)
(repl))
(deftask test []
(uber-env)
(bt/test))
(deftask check-sources []
(comp
(check/with-bikeshed)
(check/with-eastwood)
(check/with-yagni)
(check/with-kibit)))
(task-options!
push {:ensure-branch nil}
pom {:project 'cprop
:version +version+
:description "where all configuration properties converge"
:url "https://github.com/tolitius/cprop"
:scm {:url "https://github.com/tolitius/cprop"}
:license {"Eclipse Public License"
"http://www.eclipse.org/legal/epl-v10.html"}})