-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.boot
33 lines (27 loc) · 890 Bytes
/
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
(set-env! :dependencies
'[[org.clojure/clojure "1.9.0"]
[boot/core "2.8.2" :scope "provided"]
[adzerk/boot-test "1.2.0" :scope "test"]
[org.clojure/test.check "0.9.0" :scope "test"]
[tolitius/boot-check "0.1.11" :scope "test"]
[com.github.ben-manes.caffeine/caffeine "2.6.2"]]
:source-paths #{"src/main/clj"}
:resource-paths #{"src/test/clj"})
(require '[adzerk.boot-test :refer [test]])
(require '[tolitius.boot-check :as check])
(task-options!
pom {:project 'cloffeine
:version "0.0.1"}
jar {:main 'cloffeine.runner
:file "cloffeine.jar"}
aot {:all true}
test {:junit-output-to "junit"})
(deftask check-sources []
(comp
(check/with-bikeshed)
(check/with-eastwood)
(check/with-yagni)
(check/with-kibit)))
(deftask build
[]
(comp (aot) (uber) (jar) (target)))