-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
65 lines (57 loc) · 2.73 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
60
61
62
63
64
65
(defproject maackle/pull2chan "0.1.0"
:description "Convert between ClojureScript core.async channels and pull-streams"
:url "https://github.com/maackle/pull2chan"
:min-lein-version "2.7.1"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.908"]
[com.cognitect/transit-cljs "0.8.243"]
[funcool/struct "1.2.0"]]
:plugins [[lein-cljsbuild "1.1.7" :exclusions [[org.clojure/clojure]]]
[lein-figwheel "0.5.13"]
[lein-doo "0.1.7"]]
:source-paths ["src"]
:clean-targets ["server.js"
"target"]
:cljsbuild {
:builds [{:id "dev"
:source-paths ["src"]
:compiler {:main pull2chan.core
:output-to "target/dev.js"
:output-dir "target/dev"
:target :nodejs
:optimizations :none
}}
{:id "devserver"
:source-paths ["server" "test" "src"]
:figwheel true
:compiler {
:main devserver.core
:output-to "target/devserver.js"
:output-dir "target/devserver"
:target :nodejs
:optimizations :none
}}
{:id "test"
:source-paths ["test" "src"]
:figwheel true
:compiler {:main pull2chan.tests
:output-to "target/js/test.js"
:output-dir "target/js/test"
:target :nodejs
:optimizations :none
}}
{:id "prod"
:source-paths ["src"]
:compiler {:main pull2chan.core
:output-to "target/prod.js"
:output-dir "target/prod"
:target :nodejs
:optimizations :advanced}}]
}
:figwheel {}
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.13"]
[com.cemerick/piggieback "0.2.2"]]
:source-paths ["src" "dev"]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}
:front [:dev {:figwheel {:server-port 3669}}]
:back [:dev {:figwheel {:server-port 3779}}]})