forked from jupl/boot-cljs-devtools
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.boot
More file actions
26 lines (20 loc) · 726 Bytes
/
build.boot
File metadata and controls
26 lines (20 loc) · 726 Bytes
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
(set-env!
:source-paths #{"src"}
:dependencies '[[adzerk/bootlaces "0.1.13" :scope "test"]])
(require '[adzerk.bootlaces :refer :all])
(def +version+ "0.2.0")
(bootlaces! +version+)
(task-options!
pom {:project 'powerlaces/boot-cljs-devtools
:version +version+
:description "Boot task to add Chrome DevTool enhancements for CLJS."
:url "https://github.com/boot-clj/boot-cljs-devtools"
:scm {:url "https://github.com/boot-clj/boot-cljs-devtools"}
:license {"MIT" "https://opensource.org/licenses/MIT"}})
(def snapshot? #(.endsWith +version+ "-SNAPSHOT"))
(deftask deploy []
(comp
(build-jar)
(if (snapshot?)
(push-snapshot)
(push-release))))