Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 9 lines (8 sloc) 0.624 kb
1 2 3 4 5 6 7 8 9
(require '[cljs.closure :as closure])

(if (= 1 (count *command-line-args*))
  (closure/build (first *command-line-args*) {:optimizations :simple ;;TODO: Advanced compilation chokes on SVG handling in D3
                                              :foreign-libs [{:file "vendor/d3/d3.js"
                                                              :provides ["jsd3.core"]}]
                                              :output-dir "resources/public/out"
                                              :output-to "resources/public/main.js"})
  (println "compile.clj requires one argument: path to cljs file to compile"))
Something went wrong with that request. Please try again.