- 
                Notifications
    
You must be signed in to change notification settings  - Fork 791
 
lein cljsbuild
        swannodette edited this page May 6, 2012 
        ·
        8 revisions
      
    We recommend using lein-cljsbuild over using the ClojureScript compiler directly.
If you'd like to work against ClojureScript master, make a checkouts directory in your project and clone the ClojureScript repository into it. Then modify your project.clj to look something like this:
(defproject foo "0.0.0" 
  :description "Foobar"
  :extra-classpath-dirs ["checkouts/clojurescript/src/clj"
                         "checkouts/clojurescript/src/cljs"]
  :dev-dependencies [[lein-cljsbuild "0.1.8"]]
  :cljsbuild {:builds {:release {:source-path "src"
                                 :compiler {:optimizations :advanced
                                            :output-to "main.js"}}}})- Rationale
 - Quick Start
 - Differences from Clojure
 - [Usage of Google Closure](Google Closure)