forked from degree9/boot-exec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.boot
41 lines (37 loc) · 1.21 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
(set-env!
:dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"]
[boot/core "2.7.1"]
[adzerk/bootlaces "0.1.13" :scope "test"]
[cheshire "5.7.1"]
[org.clojars.hozumi/clj-commons-exec "1.2.0"]
[degree9/boot-semver "1.4.4" :scope "test"]]
:resource-paths #{"src"})
(require
'[adzerk.bootlaces :refer :all]
'[degree9.boot-semver :refer :all]
'[degree9.boot-exec :as ex])
(task-options!
pom {:project 'degree9/boot-exec
:description "Boot-clj external process execution using Apache Commons Exec."
:url "https://github.com/degree9/boot-exec"
:scm {:url "https://github.com/degree9/boot-exec"}}
target {:dir #{"target"}})
(deftask develop
"Build boot-exec for development."
[]
(comp
(watch)
(version :develop true
:minor 'inc
:patch 'zero
:pre-release 'snapshot)
(target)
(build-jar)))
(deftask deploy
"Build boot-exec and deploy to clojars."
[]
(comp
(version)
(target)
(build-jar)
(push-release)))