Created
August 4, 2015 17:51
-
-
Save kennyjwilli/7aa5fb202a59ce7b3cc1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(set-env! | |
:resource-paths #{"resources"} | |
:dependencies '[[adzerk/bootlaces "0.1.10" :scope "test"] | |
[cljsjs/boot-cljsjs "0.5.0" :scope "test"]]) | |
(require '[adzerk.bootlaces :refer :all] | |
'[cljsjs.boot-cljsjs.packaging :refer :all]) | |
(def +version+ "1.0.2") | |
(bootlaces! +version+) | |
(task-options! | |
pom {:project 'cljsjs/chart-js | |
:version +version+ | |
:description "Simple HTML5 Charts using the canvas element chartjs.org" | |
:url "http://chartjs.org/" | |
:license {"MIT" "http://opensource.org/licenses/MIT"}}) | |
(deftask package [] | |
(comp | |
(download :url "https://github.com/nnnick/Chart.js/archive/v1.0.2.zip" | |
:unzip true) | |
(sift :move {#"Chart.js" "cljsjs/Chart.js/development/Chart.inc.js" | |
#"Chart.min.js" "cljsjs/Chart.js/production/Chart.min.inc.js"}) | |
(sift :include #{#"^cljsjs"}) | |
(deps-cljs :name "cljsjs.chart-js"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment