forked from metosin/bat-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.boot
34 lines (29 loc) · 955 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
34
(def +version+ "0.3.0")
(set-env!
:resource-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.7.0" :scope "provided"]
[boot/core "2.6.0" :scope "provided"]
[eftest "0.1.1" :scope "test"]
[org.clojure/tools.namespace "0.3.0-alpha3" :scope "test"]])
(task-options!
pom {:project 'metosin/boot-alt-test
:version +version+
:description "Fast Clojure.test runner for Boot"
:url "https://github.com/metosin/boot-alt-test"
:scm {:url "https://github.com/metosin/boot-alt-test"}
:license {"Eclipse Public License" "http://www.eclipse.org/legal/epl-v10.html"}})
(deftask build []
(comp
(pom)
(jar)
(install)))
(deftask dev []
(comp
(watch)
(repl :server true)
(build)
(target)))
(deftask deploy []
(comp
(build)
(push :repo "clojars" :gpg-sign (not (.endsWith +version+ "-SNAPSHOT")))))