forked from magomimmo/modern-cljs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
27 lines (27 loc) · 1.11 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(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"}
; clojure source code path
:source-paths ["src/clj"]
:dependencies [[org.clojure/clojure "1.4.0"]
; compojure dependency
[compojure "1.1.3"]]
: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 tadks configuration
:cljsbuild {:builds
[{; 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"
; minimum optimization
:optimizations :whitespace
; prettyfying emitted JS
:pretty-print true}}]})