Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (54 sloc) 2.32 KB
(defproject modern-cljs "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:min-lein-version "2.0.0"
; clojure source code path
:source-paths ["src/clj"
"compiler/clojurescript/src/clj"
"compiler/clojurescript/src/cljs"]
:dependencies [[org.clojure/clojure "1.4.0"]
; compojure dependency
[compojure "1.1.3"]
; domina dependency
[domina "1.0.0"]]
:plugins [; cljsbuild plugin
[lein-cljsbuild "0.2.9"]
; ring plugin
[lein-ring "0.7.5"]]
; ring tasks configuration
:ring {:handler modern-cljs.core/handler}
; cljsbuild tasks configuration
:cljsbuild {:builds
{
:dev
{; clojurescript source code path
:source-path "src/cljs"
; Google Closure Compiler options
:compiler {; the name of emitted JS script file
:output-to "resources/public/js/modern_dbg.js"
; minimum optimization
:optimizations :whitespace
; prettyfying emitted JS
:pretty-print true}}
:prod
{; clojurescript source code path
:source-path "src/cljs"
; Google Closure Compiler options
:compiler {; the name of emitted JS script file
:output-to "resources/public/js/modern.js"
; the name of the CLJS source file to be
; excluded from compilation
:exclude ["modern_cljs/connect.cljs"]
;advanced optimization
:optimizations :advanced}}
:pre-prod
{; same path as above
:source-path "src/cljs"
:compiler {; different output name
:output-to "resources/public/js/modern_pre.js"
; simple optmization
:optimizations :simple
; no need prettyfication
}}}})
Jump to Line
Something went wrong with that request. Please try again.