forked from onyx-platform/onyx-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
123 lines (100 loc) · 5.47 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
(defproject org.onyxplatform/onyx-dashboard "0.14.1.0"
:description "Dashboard for the Onyx distributed computation system"
:url "http://github.com/lbradstreet/onyx-dashboard"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:source-paths ["src/clj"]
:test-paths ["spec/clj" "test"]
:java-opts ["-Xmx2g" "-server"]
:main onyx-dashboard.system
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.8.34" :scope "provided"]
[org.clojure/core.async "0.2.374"]
[com.stuartsierra/component "0.3.1"]
; taoensso deps
[com.taoensso/sente "1.8.1" :exclusions [com.taoensso/timbre com.taoensso/encore]]
[com.lucasbradstreet/cljs-uuid-utils "1.0.2"]
[ring "1.3.2"]
; onyx deps
^{:voom {:repo "[email protected]:onyx-platform/onyx.git" :branch "master"}}
[org.onyxplatform/onyx "0.14.1"]
[org.onyxplatform/lib-onyx "0.9.10.0" :exclusions [ring-jetty-component org.onyxplatform/onyx]]
[org.onyxplatform/onyx-visualization "0.5.0"]
[timothypratley/patchin "0.3.5"]
[com.cognitect/transit-clj "0.8.285"]
[com.cognitect/transit-cljs "0.8.237"]
[cljsjs/moment "2.9.0-0"]
[ring/ring-defaults "0.1.5"]
[compojure "1.3.4"]
;; FIXME, need to pin instaparse for some reason
;; deps :tree says that compojure is bringing a compatible version
;; in and I can't figure it ou
[instaparse "1.4.1"]
[enlive "1.1.5"]
[fence "0.2.0"]
[fipp "0.6.4"]
[environ "1.0.0"]
[http-kit "2.1.19"]
[org.apache.httpcomponents/httpcore "4.4.4"]
[org.clojure/core.cache "0.6.4"]
[shoreleave/shoreleave-browser "0.3.0"]
[org.omcljs/om "0.8.8"]
[ankha "0.1.5.1-479897" :exclusions [om com.cemerick/austin]]
[racehub/om-bootstrap "0.6.1" :exclusions [om]]
[prismatic/om-tools "0.4.0" :exclusions [om]]]
:plugins [[lein-cljsbuild "1.1.3"]
[lein-environ "1.0.0"]]
:min-lein-version "2.5.0"
:uberjar-name "onyx-dashboard.jar"
:cljsbuild {:builds {:app {:source-paths ["src/cljs"]
:compiler {:output-to "resources/public/js/app.js"
:output-dir "resources/public/js/out"
:source-map true
:main onyx-dashboard.dev
:asset-path "js/out"
:optimizations :none
:pretty-print true}}}}
:clean-targets ^{:protect false} ["resources/public/js/advanced"
"resources/public/js/out"
"resources/public/js/app.js"
"target"]
;:hooks [leiningen.cljsbuild]
:profiles {:dev {:source-paths ["env/dev/clj"]
:dependencies [[figwheel "0.5.0-6"]
[org.seleniumhq.selenium/selenium-java "2.47.1"]
[clj-webdriver "0.7.2"]
; logging from included jars
[com.fzakaria/slf4j-timbre "0.3.2"]
[org.slf4j/slf4j-api "1.7.14"]
[org.slf4j/log4j-over-slf4j "1.7.14"]
[leiningen "2.6.1"]]
:repl-options {:init-ns onyx-dashboard.system
:timeout 90000}
:plugins [[lein-figwheel "0.5.0-6"]
[lein-set-version "0.4.1"]
[lein-update-dependency "0.1.2"]
[lein-pprint "1.1.1"]
[lein-project-version "0.1.0"]]
:figwheel {:http-server-root "public"
:server-port 3428
:css-dirs ["resources/public/css"]}
:env {:peer-config "peer-config.edn"
:is-dev true}
:cljsbuild {:test-commands {}
:builds
{:app
{:source-paths ["env/dev/cljs"]}}}}
:uberjar {:source-paths ["env/prod/clj"]
:hooks [leiningen.cljsbuild]
:env {:production true}
:omit-source true
:aot :all
:cljsbuild ^:replace
{:builds
{:uberjar {:source-paths ["src/cljs" "env/prod/cljs"]
:compiler {:output-to "resources/public/js/app.js"
:output-dir "resources/public/js/advanced"
:source-map "resources/public/js/app.js.map"
:externs ["src/js/d3_externs.js"]
:optimizations :advanced
:pretty-print false}}}}}})