forked from clojure-goes-fast/jvm-alloc-rate-meter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.boot
21 lines (18 loc) · 785 Bytes
/
build.boot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(task-options!
pom {:project 'com.clojure-goes-fast/jvm-alloc-rate-meter
:version "0.1.4"
:description "Measure JVM heap allocation rate in real time"
:url "http://github.com/clojure-goes-fast/jvm-alloc-rate-meter"
:scm {:url "http://github.com/clojure-goes-fast/jvm-alloc-rate-meter"}
:license {"Eclipse Public License"
"http://www.eclipse.org/legal/epl-v10.html"}}
push {:repo "clojars"})
(set-env! :source-paths #{"src"})
(deftask build []
(comp (javac)
(sift :to-resource [#"jvm_alloc_rate_meter/.+\.clj$"])
(pom) (jar)))
(comment ;; Development
(set-env! :dependencies #(conj % '[virgil "LATEST"]))
(require '[virgil.boot :as virgil])
(boot (virgil/javac* :verbose true)))