-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
38 lines (33 loc) · 1011 Bytes
/
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
28
29
30
31
32
33
34
35
36
37
38
(defproject leverage "0.1.0-SNAPSHOT"
:description "Get leverage with Clojure! A demonstration of Clojure and ClojureScript"
:url "https://github.com/robert-stuttaford/leverage"
:dependencies
[;; Clojure
[org.clojure/clojure "1.5.1"]
;; ClojureScript
[org.clojure/clojurescript "0.0-1909"]
;; Web server
[ring-server "0.2.8"]
;; HTTP Routing
[compojure "1.1.5"]
;; Server-side HTML Templating
[hiccup "1.0.4"]
;; Client-side HTML Templating and DOM
[prismatic/dommy "0.1.1"]]
;; Predictable REPL port
:repl-options {:port 9991}
:plugins
[ ;; ClojureScript compiler
[lein-cljsbuild "0.3.3"]]
;; ClojureScript -> JavaScript compilation
:cljsbuild
{ ;; Clojure namespaces to include in ClojureScript
:crossovers [leverage.domain]
;; produce a .js file
:builds
[{:id "dev"
:source-paths ["src-cljs"]
:compiler
{:pretty-print true
:output-to "resources/public/js/leverage.js"
:optimizations :whitespace}}]})