-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.boot
49 lines (38 loc) · 1.1 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
(def version "0.1.0")
(task-options!
pom {:project 'org.typedclojure/boot-typedclojure
:version version
:description "Boot plugin for Typed Clojure"}
push {:repo-map {:url "https://clojars.org/repo/"}})
(set-env!
:resource-paths #{"src"}
:source-paths #{"test"}
:dependencies
'[[org.clojure/clojure "1.9.0-alpha17"]
[adzerk/bootlaces "0.1.13" :scope "build"]
[adzerk/boot-jar2bin "1.1.0" :scope "build"
:exclusions [org.clojure/clojure]]
[adzerk/boot-test "1.2.0"]
[big-solutions/boot-mvn "0.1.5"
:exclusions [org.clojure/clojure]]
[org.clojure/tools.namespace "0.2.11"
:exclusions [org.clojure/clojure]]])
(require '[adzerk.boot-jar2bin :refer :all]
'[adzerk.boot-test :as bt]
'[boot-mvn.core :refer [mvn]]
'[clojure.java.io :as io])
(deftask deps
[])
;; build
(replace-task!
[i install] (fn [& xs]
(comp (pom) (jar) (apply i xs))))
(deftask test
"Run every non-integration test."
[]
(bt/test))
(require '[adzerk.bootlaces :refer :all])
(bootlaces! version)
(deftask release
[]
(comp (build-jar) (push-release)))