Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (28 sloc) 1.414 kb
(defproject cljsbuild-example-advanced "0.0.14"
:description "An advanced example of how to use lein-cljsbuild"
:source-path "src-clj"
:dependencies [[org.clojure/clojure "1.3.0"]
[compojure "0.6.5"]
[hiccup "0.3.7"]
; NOTE: This log4j dependency is not actually used by the project;
; it's just here to make sure that lein-cljsbuild handles complex
; dependencies correctly.
[log4j "1.2.15" :exclusions [javax.mail/mail
javax.jms/jms
com.sun.jdmk/jmxtools
com.sun.jmx/jmxri]]]
:dev-dependencies [[lein-ring "0.5.0"]]
:plugins [[lein-cljsbuild "0.0.14"]]
:hooks [leiningen.cljsbuild]
:cljsbuild [{:source-path "src-cljs"
:jar true
:crossovers [example.crossover]
:compiler {:output-to "resources/public/js/main-debug.js"
:optimizations :whitespace
:pretty-print true}}
{:source-path "src-cljs"
:crossovers [example.crossover]
:compiler {:output-to "resources/public/js/main.js"
:optimizations :advanced
:pretty-print false}}]
:ring {:handler example.routes/app})
Jump to Line
Something went wrong with that request. Please try again.