-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.boot
33 lines (27 loc) · 1.05 KB
/
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
(def +lib-version+ "0.8.0")
(def +version+ (str +lib-version+ ""))
(set-env!
:resource-paths #{"resources"}
:dependencies '[[cljsjs/boot-cljsjs "0.5.2"]])
(require '[cljsjs.boot-cljsjs.packaging :refer :all]
'[boot.task.built-in :refer :all])
(task-options!
pom {:project 'cljsjs/tonejs
:version +version+
:description "A Web Audio framework for making interactive music in the browser."
:url "http://www.tonejs.org/"
:license {"MIT" "https://github.com/Tonejs/Tone.js/blob/master/LICENSE.md"}
:scm {:url "https://github.com/cljsjs/packages"}})
(deftask package []
(comp
(download :url
"https://raw.githubusercontent.com/Tonejs/Tone.js/master/build/Tone.min.js"
:checksum
"4FFBDF59A08A54FF624BCD17D0FF27D4")
(sift :move {#"^Tone.min.js" "cljsjs/tonejs/development/Tone.inc.js"})
(sift :move {#"^Tone.ext.js" "cljsjs/tonejs/common/Tone.ext.js"})
(sift :include #{#"^cljsjs"})
(deps-cljs :name "tonejs")
(show)
(pom)
(jar)))