-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.boot
43 lines (38 loc) · 1.31 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
; vim: syntax=clojure
(set-env! :dependencies (cond
(= "1.8.0" (System/getenv "BOOT_CLOJURE_VERSION"))
'[[org.clojure/clojure "1.8.0" :scope "provided"]]
:else
'[[org.clojure/clojure "1.9.0-alpha17" :scope "provided"]]))
(set-env!
:project 'irresponsible/thyroid
:version "0.1.1"
:resource-paths #{"src" "resources"}
:source-paths #{"src"}
:dependencies #(into % '[[org.thymeleaf/thymeleaf "3.0.6.RELEASE"]
;; Development dependencies
[adzerk/boot-test "1.2.0" :scope "test"]
[irresponsible/domiscuity "0.2.0" :scope "test"]]))
(require '[adzerk.boot-test :as t])
(task-options!
pom {:project (get-env :project)
:version (get-env :version)
:description "HTML5 templating made differently insane"
:url "https://github.com/irresponsible/thyroid"
:scm {:url "https://github.com/irresponsible/thyroid"}
:license {"MIT" "https://en.wikipedia.org/MIT_License"}}
push {:tag true
:ensure-branch "master"
:ensure-release true
:ensure-clean true
:gpg-sign true
:repo "clojars"}
target {:dir #{"target"}})
(deftask testing []
(set-env! :source-paths #(conj % "test")
:resource-paths #(conj % "test"))
identity)
(deftask test []
(comp
(testing)
(t/test)))