-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathproject.clj
80 lines (64 loc) · 2.71 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
(defproject tunnel "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:jvm-opts ^:replace ["-Xms512m" "-Xmx512m" "-server"]
:min-lein-version "2.5.3"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.170"]
[org.clojure/core.async "0.2.374"
:exclusions [org.clojure/tools.reader]]
[ring "1.4.0"]
[ring/ring-defaults "0.1.5"]
[prismatic/schema "1.0.5"]
[hiccup "1.0.5"]
[com.stuartsierra/component "0.3.1"]
[com.taoensso/sente "1.8.1"]
[org.danielsz/system "0.3.0-SNAPSHOT"]
[reagent "0.6.0-alpha"]
[garden "1.3.2"]
[cljs-ajax "0.5.4"]
[http-kit "2.1.19"]
[compojure "1.4.0"]
[secretary "1.2.3"]
[datascript "0.15.0"]
[com.datomic/datomic-free "0.9.5350"]]
:plugins [[lein-cljsbuild "1.1.2" :exclusions [[org.clojure/clojure]]]
[lein-externs "0.1.5"]]
:source-paths ["src/server" "src/shared"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:cljsbuild {:builds
{:app {:source-paths ["src/client" "src/shared"]
:figwheel true
:compiler {:main tunnel.core
:asset-path "js/compiled/out"
:output-to "resources/public/js/compiled/tunnel.js"
:output-dir "resources/public/js/compiled/out"
:source-map-timestamp true}}}}
:figwheel {:http-server-root "public"
:ring-handler tunnel.core/ring-handler
:open-file-command "myfile-opener"
:server-logfile "/tmp/figwheel-logfile.log"}
:profiles
{:dev
{:source-paths ["env/dev"]
:dependencies [[com.cemerick/piggieback "0.2.1"]
[figwheel-sidecar "0.5.0"]]
:repl-options
{:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:plugins [[lein-figwheel "0.5.0-6"]]}
:uberjar
{:aot :all
:main tunnel.entry
:omit-source true
:source-paths ["env/prod"]
:hooks [leiningen.cljsbuild]
:cljsbuild {:builds
{:app
{:compiler
{:output-to "resources/public/js/compiled/tunnel.js"
:main tunnel.core
:externs ^:replace ["externs.js"]
:optimizations :advanced
:pretty-print false}}}}}})