-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.boot
More file actions
35 lines (31 loc) · 863 Bytes
/
build.boot
File metadata and controls
35 lines (31 loc) · 863 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
27
28
29
30
31
32
33
34
35
(set-env!
:dependencies '[[boot/core "2.8.2"]
[degree9/boot-io "1.4.0"]
[degree9/boot-semver "1.8.0" :scope "test"]]
:resource-paths #{"src"})
(require '[degree9.boot-semver :refer :all])
(task-options!
target {:dir #{"target"}}
pom {:project 'degree9/boot-nodejs
:description "Compile cljs app to node.js."
:url "https://github.com/degree9/boot-nodejs"
:scm {:url "https://github.com/degree9/boot-nodejs"}})
(deftask develop
"Build boot-nodejs for development."
[]
(comp
(version :develop true
:minor 'inc
:patch 'zero
:pre-release 'snapshot)
(watch)
(target)
(build-jar)))
(deftask deploy
"Build boot-nodejs and deploy to clojars."
[]
(comp
(version)
(target)
(build-jar)
(push-release)))