-
Notifications
You must be signed in to change notification settings - Fork 47
/
project.clj
59 lines (44 loc) · 2.38 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
(defproject com.keminglabs/c2 "0.2.4-SNAPSHOT"
:description "Declarative data visualization in Clojure(Script)."
:url "http://keminglabs.com/c2/"
:license {:name "BSD" :url "http://www.opensource.org/licenses/BSD-3-Clause"}
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/core.match "0.2.0-alpha12"
:exclusions [org.clojure/core.logic]]
[clj-iterate "0.96"]
;;CLJS
[com.keminglabs/singult "0.1.7-SNAPSHOT"]
[com.keminglabs/reflex "0.1.2-SNAPSHOT"]]
:profiles {:dev {:dependencies [[midje "1.5.0"]
[com.keminglabs/vomnibus "0.3.0"]]}}
:min-lein-version "2.0.0"
:plugins [[com.keminglabs/cljx "0.2.1"]
[lein-cljsbuild "0.3.1"]
[lein-midje "3.0.0"]
[lein-marginalia "0.7.0"]]
:source-paths ["src/clj" "src/cljs"
;;See src/cljx/README.markdown
".generated/clj" ".generated/cljs"
;;Uncomment & change accordingly if you want to build/test with a different version of ClojureScript besides what comes with cljsbuild.
;;For details: https://github.com/emezeske/lein-cljsbuild/issues/58
;;"../software/clojurescript/src/clj" "../software/clojurescript/src/cljs"
;;Use a marginalia fork that documents .cljx files
;;"../software/marginalia/src"
]
:cljx {:builds [{:source-paths ["src/cljx"]
:output-path ".generated/clj"
:rules cljx.rules/clj-rules}
{:source-paths ["src/cljx"]
:output-path ".generated/cljs"
:extension "cljs"
:rules cljx.rules/cljs-rules}]}
:cljsbuild {:builds {:test {:source-paths ["test/integration/cljs"]
:compiler {:output-to "out/test/integration.js"
:optimizations :simple
:pretty-print true}}
:scratch {:source-paths ["test/scratch"]
:compiler {:output-to "out/scratch.js"
:optimizations :advanced}}}
:test-commands {"integration" ["phantomjs" "test/integration/runner.coffee"]}}
;;generate cljx before JAR
:hooks [cljx.hooks])