forked from clojure-goes-fast/clj-async-profiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.boot
26 lines (23 loc) · 894 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
(task-options!
pom {:project 'com.clojure-goes-fast/clj-async-profiler
:version "0.4.0"
:description "Clojure wrapper around Java's async-profiler"
:url "https://github.com/clojure-goes-fast/clj-async-profiler"
:scm {:url "https://github.com/clojure-goes-fast/clj-async-profiler"}
:license {"Eclipse Public License"
"http://www.eclipse.org/legal/epl-v10.html"}}
push {:repo "clojars"})
(set-env! :resource-paths #{"vendor" "res" "src"}
:source-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.10.0" :scope "provided"]])
(deftask build
"Build the project."
[]
(comp (pom) (jar)))
(ns-unmap 'boot.user 'test)
(deftask test
"Check if agent can attach at all."
[]
(with-pass-thru _
(require '[clj-async-profiler.core :as prof])
((resolve 'prof/list-event-types))))