This repository has been archived by the owner on Nov 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.clj
139 lines (109 loc) · 6.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
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
(defproject cubane/stack "0.1.0-SNAPSHOT"
:description "The core stack of the Cubane project."
:url "http://github.com/s-ted/cubanostack"
:author "Sylvain Tedoldi"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/core.async "0.2.371"]
[clj-time "0.11.0"]
[cheshire "5.5.0"] ; JSON
[org.clojure/data.xml "0.0.8"]
[clj-http "2.0.0"]
[bidi "2.0.3"] ; routing lib
[com.draines/postal "1.11.3"] ; for sending mail
[com.orientechnologies/orientdb-core "2.1.13"]
[liberator "0.14.1"] ; easy data as resources exposition
[compojure "1.0.2"] ; this currently is needed for liberator
[buddy/buddy-hashers "0.11.0"]
[buddy/buddy-auth "0.9.0"]
[buddy/buddy-sign "0.9.0"]
[hiccup "1.0.5"] ; easy HTML producer
[slingshot "0.12.2"] ; advanced exception handling
[environ "1.0.2"]
[com.taoensso/timbre "4.1.1"] ; logging
[com.taoensso/tower "3.1.0-beta4"] ; i18n
[com.taoensso/sente "1.8.0"] ; Realtime web comms for Clojure/Script
[com.stuartsierra/component "0.3.1"]
[metosin/schema-tools "0.8.0"]
[ring "1.4.0"]
[ring/ring-defaults "0.1.5"]
[ring.middleware.logger "0.5.0"]
[ring.middleware.conditional "0.2.0" :exclusions [ring]]
[http-kit "2.1.19"]
; cljs libs
[org.clojure/clojurescript "1.7.228" :scope "provided"]
[quiescent/quiescent "0.3.2"]
[cljs-http "0.1.39"]
[cljsjs/react-bootstrap "0.30.2-0" :exclusions [org.webjars.bower/jquery cljsjs/react]]
[cubane/cublono-quiescent "0.1.0-SNAPSHOT"]]
:plugins [[lein-ring "0.9.6"]
[lein-cljsbuild "1.1.2"]
[lein-sassc "0.10.4"]
[lein-auto "0.1.1"]
[lein-environ "1.0.2"]]
:source-paths ["src/bo" "src/common" "src/fo"]
:test-paths ["test/bo"]
:min-lein-version "2.5.3"
:clean-targets ^{:protect false} [:target-path :compile-path "resources/public/js"]
:jar-exclusions [#".*\.sw?$" #"resources/public/js/compiled/out/"]
:uberjar-exclusions [#".*\.sw?$" #"resources/public/js/compiled/out/"]
:main cubanostack.main
:repl-options {:init-ns user
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:cljsbuild {:builds
{:app
{:source-paths ["src/fo" "src/common"]
:figwheel {:on-jsload "cubanostack.figwheel/on-reload"}
:compiler {:main cubanostack.core
:asset-path "/js/compiled/out"
:output-to "resources/public/js/compiled/cubane.js"
:output-dir "resources/public/js/compiled/out"
:source-map-timestamp true
:optimizations :none
:parallel-build true
:pretty-print true}}}}
:figwheel {:css-dirs ["resources/public/css"]
:ring-handler user/ring-handler
:server-logfile "log/figwheel.log"}
:doo {:build "test"}
:codox {:project {:name "cubane"}
:defaults {:doc/format :markdown}
:language :clojurescript}
:sassc [{:src "src/scss/style.scss"
:output-to "resources/public/css/style.css"}]
:auto {"sassc" {:file-pattern #"\.(scss)$"}}
:profiles {:dev
{:dependencies [[midje "1.8.3"]
[peridot "0.4.3"]
[kerodon "0.7.0" :exclusions [peridot]]
[org.clojure/test.check "0.9.0"]
[figwheel "0.5.0-6"]
[figwheel-sidecar "0.5.0-6"]
[com.cemerick/piggieback "0.2.1"]
[org.clojure/tools.nrepl "0.2.12"]]
:injections [(use 'midje.repl)]
:source-paths ["dev"]
:plugins [[lein-figwheel "0.5.0-6"]
[lein-doo "0.1.6"]
[lein-midje "3.2"]]
:env {:dev "true"}
:cljsbuild {:builds
{:test
{:source-paths ["src/fo" "src/common" "test/fo"]
:compiler
{:output-to "resources/public/js/compiled/testable.js"
:main cubanostack.test-runner
:optimizations :none}}}}}
:uberjar
{:source-paths ^:replace ["src/bo" "src/common"]
:hooks [leiningen.cljsbuild
leiningen.sassc]
:omit-source true
:aot :all
:cljsbuild {:builds
{:app
{:source-paths ^:replace ["src/fo" "src/common"]
:compiler
{:optimizations :advanced
:pretty-print false}}}}}})