-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathproject.clj
93 lines (81 loc) · 3.87 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
(defproject pepa "0.1.0-SNAPSHOT"
:description "Pepa: Document Management System"
:url "https://github.com/bevuta/pepa"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0-alpha12"]
[com.stuartsierra/component "0.3.1"]
[org.clojure/tools.namespace "0.2.10"]
;; DB
[org.clojure/java.jdbc "0.6.1"]
[com.mchange/c3p0 "0.9.5.2"]
[org.postgresql/postgresql "9.4.1211"]
;; Web
[ring/ring-core "1.5.0"]
[ring/ring-json "0.4.0"]
[org.immutant/web "2.1.5"]
[org.immutant/scheduling "2.1.5"]
[liberator "0.14.1"]
[compojure "1.5.1"]
[hiccup "1.0.5"]
[com.cognitect/transit-clj "0.8.290"]
[io.clojure/liberator-transit "0.3.0"]
[org.clojure/data.json "0.2.6"]
;; Utility
[org.clojure/core.async "0.2.391"]
[org.clojure/core.match "0.2.2"]
;; HACK: Include tools.reader as we're excluding it
;; globally to prevent libraries pulling in old
;; versions of it
[org.clojure/tools.reader "0.10.0"]
[commons-codec "1.10"]
;; Logging
[org.clojure/tools.logging "0.3.1"]
[ch.qos.logback/logback-classic "1.1.7"]
;; E-Mail
[javax.mail/mail "1.4.7"
:exclusions [javax.activation/activation]]
[org.subethamail/subethasmtp "3.1.7"
:exclusions [org.slf4j/slf4j-api]]
;; Printing
[com.bevuta/lpd "0.1.0-SNAPSHOT"]
[javax.jmdns/jmdns "3.4.1"]
;; Cljs Repl
[com.cemerick/piggieback "0.2.1"]
[figwheel-sidecar "0.5.8"]
;; ClojureScript
[org.clojure/clojurescript "1.9.229"]
[com.cognitect/transit-cljs "0.8.239"]
[org.omcljs/om "1.0.0-alpha46"]
[org.clojars.the-kenny/nom "0.1.1"]
[org.clojars.the-kenny/garden "1.3.0-SNAPSHOT"
:exclusions [org.clojure/tools.reader]]
[sablono "0.7.5"]
[secretary "1.2.3"]
[the/parsatron "0.0.7"]]
:exclusions [org.clojure/data.json
log4j/log4j
org.clojure/tools.reader]
:source-paths ["src/" "src-cljs/"]
:main pepa.core
:plugins [[lein-figwheel "0.5.8"]
[lein-cljsbuild "1.1.4"]]
:cljsbuild {:builds {:pepa {:source-paths ["src/" "src-cljs/"]
:figwheel true
:compiler {:main "pepa.core"
:output-to "resources/public/pepa.js"
:output-dir "resources/public/out/"
;; Fix paths to scripts used by pepa.js
:asset-path "out/"
:source-map true
:source-map-timestamp true
:optimizations :none}}}}
:profiles {:uberjar {:aot [pepa.core
pepa.tasks
;; Hack to fix NoClassDefFoundErrors when uberjar-ing
com.stuartsierra.component
com.stuartsierra.dependency]
:hooks [leiningen.cljsbuild]
;; Commented out till advanced build is reinstated
;; :jar-exclusions [#"^public/out"]
}})