Skip to content

Instantly share code, notes, and snippets.

@kennyjwilli
Created August 4, 2015 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kennyjwilli/7aa5fb202a59ce7b3cc1 to your computer and use it in GitHub Desktop.
Save kennyjwilli/7aa5fb202a59ce7b3cc1 to your computer and use it in GitHub Desktop.
(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