forked from stuartsierra/component
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproject.clj
More file actions
38 lines (38 loc) · 2.36 KB
/
project.clj
File metadata and controls
38 lines (38 loc) · 2.36 KB
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 com.stuartsierra/component "0.2.2-SNAPSHOT"
:description "Managed lifecycle of stateful objects"
:url "https://github.com/stuartsierra/component"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:min-lein-version "2.1.3" ; added :global-vars
:dependencies [[org.clojure/clojurescript "0.0-2197"]]
; :dependencies [[com.stuartsierra/dependency "0.1.1"]]
:global-vars {*warn-on-reflection* true}
:profiles {:dev {:dependencies [[org.clojure/clojure "1.5.1"]]}
:clj-1.4.0 {:dependencies [[org.clojure/clojure "1.4.0"]]}
:clj-1.3.0 {:dependencies [[org.clojure/clojure "1.3.0"]]}
:clj1.4 {:dependencies [[org.clojure/clojure "1.4.0"]]}}
:plugins [[com.keminglabs/cljx "0.3.2" :exclusions [org.clojure/clojure]]
[lein-cljsbuild "1.0.3"]
[com.cemerick/clojurescript.test "0.3.1"]]
:hooks [leiningen.cljsbuild cljx.hooks]
:source-paths ["src" "target/gen/src"]
:test-paths ["test" "target/gen/test"]
:cljx {:builds [{:source-paths ["src"] :output-path "target/gen/src" :rules :clj}
{:source-paths ["src"] :output-path "target/gen/src" :rules :cljs}
{:source-paths ["test"] :output-path "target/gen/test" :rules :clj}
{:source-paths ["test"] :output-path "target/gen/test" :rules :cljs}]}
:cljsbuild {:builds {:dev {:source-paths ["target/gen/src"]
:compiler {:output-to "target/gen/js/main.js"
:output-dir "target/gen/js"
:optimizations :whitespace
:pretty-print true
:source-map "target/gen/js/main.js.map"}}
:test {:source-paths ["target/gen/src" "target/gen/test"]
:compiler {:output-to "target/gen/test/js/testable.js"
;; :optimizations :advanced
:optimizations :simple
:pretty-print true}}}
:test-commands {"phantomjs" ["phantomjs"
:runner
"test/bind-polyfill.js"
"target/gen/test/js/testable.js"]}})