-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.boot
39 lines (35 loc) · 1009 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
35
36
37
38
39
(set-env!
:dependencies '[[org.clojure/clojure "1.10.0"]
[boot/core "2.8.2"]
[degree9/boot-exec "1.1.0"]
[degree9/boot-semver "1.8.0"]]
:resource-paths #{"src"})
(require
'[degree9.boot-semver :refer :all]
'[degree9.boot-semgit :refer :all]
'[degree9.boot-semgit.workflow :refer :all])
(task-options!
pom {:project 'degree9/boot-semgit
:description "Semantic Git usage for boot projects."
:url "https://github.com/degree9/boot-semgit"
:scm {:url "https://github.com/degree9/boot-semgit"}}
target {:dir #{"target"}})
(deftask develop
"Build boot-semgit for development."
[]
(comp
(version :develop true
:minor 'inc
:patch 'zero
:pre-release 'snapshot)
(watch)
(target)
(build-jar)))
(deftask deploy
"Build boot-semgit and deploy to clojars."
[]
(comp
(version)
(target)
(build-jar)
(push-release)))