-
Notifications
You must be signed in to change notification settings - Fork 13
/
project.clj
39 lines (39 loc) · 1.7 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
(defproject reagi "0.10.1"
:description "An FRP library for Clojure and ClojureScript"
:url "https://github.com/weavejester/reagi"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/core.async "0.1.298.0-2a82a1-alpha"]
[org.clojure/clojurescript "0.0-2202"]]
:plugins [[codox "0.6.7"]
[lein-cljsbuild "1.0.3"]
[com.keminglabs/cljx "0.3.2"]]
:source-paths ["src/clojure" "src/cljs"]
:test-paths ["test/clojure"]
:hooks [cljx.hooks]
:cljx
{:builds [{:source-paths ["src/cljx"]
:output-path "target/classes"
:rules :clj}
{:source-paths ["src/cljx"]
:output-path "target/classes"
:rules :cljs}]}
:codox {:sources ["target/classes"]}
:cljsbuild
{:builds [{:source-paths ["target/classes"]
:compiler {:output-to "target/main.js"}}]}
:profiles
{:dev {:plugins [[com.cemerick/austin "0.1.4"]]
:dependencies [[criterium "0.4.2"]]
:repl-options {:init (require '[reagi.core :as r]
'[clojure.core.async
:as a :refer [go go-loop <! >! <!! >!!]])}}
:test {:plugins [[com.cemerick/clojurescript.test "0.3.0"]]
:cljsbuild
{:builds ^:replace [{:source-paths ["target/classes" "test/cljs"]
:compiler {:output-to "target/test.js"}}]
:test-commands {"unit-tests" ["phantomjs" :runner "target/test.js"]}}}}
:aliases
{"test-cljs" ["with-profile" "test" "cljsbuild" "test"]
"test-all" ["do" "test," "test-cljs"]})