-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.boot
36 lines (31 loc) · 905 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
(defn get-deps [] (-> "./dependencies.edn" slurp read-string))
;(defn get-devdeps [] (read-file "./dev_dependencies.edn"))
(set-env!
:dependencies (get-deps)
:resource-paths #{"src"})
(require
'[hoplon.boot-hoplon :refer :all]
'[degree9.boot-semver :refer :all]
'[material-hl.boot-material :refer [material]])
(task-options!
pom {:project 'degree9/material-hl
:description "Material Web Components for Hoplon"
:url "https://github.com/degree9/material-hl"
:scm {:url "https://github.com/degree9/material-hl"}})
(deftask deploy
"Build project for deployment to clojars."
[]
(comp
(version)
(hoplon :manifest true)
(build-jar)
(push-release)))
(deftask develop
"Build project for development."
[]
(comp
(version :develop true
:pre-release 'snapshot)
(watch)
(hoplon :manifest true)
(build-jar)))