forked from stuartsierra/component
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
49 lines (42 loc) · 2.53 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
(defproject kibu/component "0.2.3-SNAPSHOT"
:description "Managed lifecycle of stateful objects"
:url "https://github.com/kibu-australia/component"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:min-lein-version "2.1.3" ; added :global-vars
:dependencies [[kibu/dependency "0.1.2-SNAPSHOT"]]
:global-vars {*warn-on-reflection* true}
:aliases {"deploy" ["do" "clean," "cljx" "once," "deploy" "clojars"]
"test" ["do" "clean," "cljx" "once," "test," "with-profile" "dev" "cljsbuild" "test"]}
:source-paths ["target/classes" "target/dev" "target/classes"]
:test-paths ["target/test"]
:profiles {:dev {:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2411"]
[org.clojure/tools.namespace "0.2.4"]]
:plugins [[com.keminglabs/cljx "0.4.0"]
[lein-cljsbuild "1.0.3"]
[com.cemerick/clojurescript.test "0.3.1"]]
:hooks [cljx.hooks]
:cljx {:builds [{:source-paths ["src"]
:output-path "target/classes"
:rules :clj}
{:source-paths ["src"]
:output-path "target/classes"
:rules :cljs}
{:source-paths ["test"]
:output-path "target/test"
:rules :clj}
{:source-paths ["test"]
:output-path "target/test"
:rules :cljs}]}}}
:cljsbuild {:builds {:dev {:source-paths ["src" "target/classes"]
:compiler {:output-dir "target/dev"
:output-to "target/dev/component.js"
:source-map "target/dev/component.js.map"
:optimization :whitespace
:pretty-print true}}
:test {:source-paths ["target/classes" "target/test" "src" "test"]
:compiler {:output-to "target/test/unit-test.js"
:optimizations :whitespace}}}
:test-commands {"unit-tests" ["phantomjs" :runner
"target/test/unit-test.js"]}})