-
Notifications
You must be signed in to change notification settings - Fork 6
/
project.clj
132 lines (115 loc) · 5.64 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
(defproject planwise "0.13.0-SNAPSHOT"
:description "Facility Planner"
:url "http://github.com/instedd/planwise"
:min-lein-version "2.0.0"
:dependencies [; Base infrastructure
[org.clojure/clojure "1.10.1"]
[org.clojure/core.async "0.4.474"]
[prismatic/schema "1.1.7"]
[duct/core "0.6.2"]
[duct/module.logging "0.3.1"]
[duct/module.web "0.6.4"
:exclusions [org.slf4j/slf4j-nop]]
[duct/module.sql "0.4.2"]
[integrant "0.6.3"]
; Web server and routing
[compojure "1.6.0"]
[ring/ring-core "1.6.3"]
[ring/ring-servlet "1.6.3"]
[ring/ring-jetty-adapter "1.6.3"]
[ring/ring-defaults "0.3.1"]
[ring/ring-json "0.4.0"]
[ring-webjars "0.2.0"]
[amalloy/ring-gzip-middleware "0.1.3"]
; Security
[buddy "2.0.0"]
[org.openid4java/openid4java "1.0.0"
:exclusions [commons-logging
org.apache.httpcomponents/httpclient]]
[oauthentic "1.0.1"
:exclusions [org.apache.httpcomponents/httpclient
clj-http]]
[clj-http "3.7.0"]
; needed by oauthentic
; Logging
[com.taoensso/timbre "4.10.0"]
[com.fzakaria/slf4j-timbre "0.3.8"]
[org.slf4j/log4j-over-slf4j "1.7.14"]
[org.slf4j/jul-to-slf4j "1.7.14"]
[org.slf4j/jcl-over-slf4j "1.7.14"]
; Rendering and data handling
[hiccup "1.0.5"]
[cheshire "5.8.0"]
[clj-time "0.14.2"]
[reduce-fsm "0.1.4"]
; Client assets and components
[org.webjars/normalize.css "5.0.0"]
[org.webjars/leaflet "1.7.1"]
[org.webjars/leaflet-markercluster "1.4.1"]
; Database access
[org.clojure/java.jdbc "0.7.5"]
[org.postgresql/postgresql "42.2.1"]
[net.postgis/postgis-jdbc "2.2.1"
:exclusions [postgresql
org.postgresql/postgresql
ch.qos.logback/logback-classic
ch.qos.logback/logback-core]]
[com.layerware/hugsql "0.4.7"]
; Misc
[org.clojure/data.csv "0.1.4"]
[org.clojure/data.json "0.2.4"]
[com.draines/postal "2.0.0"]
[funcool/cuerdas "2.0.3"]
[org.gdal/gdal "2.1.0"]
[org.clojure/math.combinatorics "0.1.4"]
[net.mintern/primitive "1.3"]]
:plugins [[duct/lein-duct "0.10.6"]
[lein-cljfmt "0.6.4"]]
:cljfmt {:remove-consecutive-blank-lines? false}
:source-paths ["src" "common/src"]
:resource-paths ["resources" "target/resources" "client/target"]
:java-source-paths ["java"]
:target-path "target/%s/"
:main ^:skip-aot planwise.main
:prep-tasks ["javac"
"compile"
["run" ":duct/compiler"]]
:jar-exclusions [#"^svg/icons/.*" #"^sass/.*" #".*DS_Store$" #"^planwise/public/js/.*/.*"]
:uberjar-exclusions [#"^svg/icons/.*" #"^sass/.*" #".*DS_Store$" #"^planwise/public/js/.*/.*"]
:uberjar-name "planwise-standalone.jar"
:aliases {"migrate" ["with-profile" "+repl" "run" ":duct/migrator"]
"build-icons" ["with-profile" "+repl" "run" "-m" "planwise.tasks.build-icons"]
"recompute-scenarios" ["with-profile" "+repl" "run" "-m" "planwise.tasks.recompute-scenarios"]
"check-format" ["with-profile" "cljfmt" "cljfmt" "check"]
"fix-format" ["with-profile" "cljfmt" "cljfmt" "fix"]}
:profiles
{:dev [:project/dev :profiles/dev]
:test [:project/test :profiles/test]
:repl {:prep-tasks ^:replace ["javac" "compile"]
:repl-options {:init-ns user
:nrepl-middleware []
:host "0.0.0.0"
:port 47480}}
:uberjar {:aot :all}
:profiles/dev {}
:profiles/test {}
:project/dev {:dependencies [; Framework
[ring/ring-devel "1.6.3"]
; REPL tools
[org.clojure/tools.namespace "0.3.0-alpha4"]
[integrant/repl "0.2.0"]
[virgil "0.1.9"]
; Testing libraries
[eftest "0.4.3"
:exclusions [io.aviso/pretty]]
[kerodon "0.9.0"]
[ring/ring-mock "0.3.0"]
[com.gearswithingears/shrubbery "0.4.1"]
[org.clojure/test.check "0.9.0"]]
:source-paths ["dev/src"]
:resource-paths ["dev/resources" "test/resources"]}
:project/test {:prep-tasks ^:replace ["javac" "compile"]
:resource-paths ["test/resources"]}
;; this profile adds client source paths for running cljfmt
;; run with: lein with-profile cljfmt cljfmt check
:cljfmt {:source-paths ["client/src" "client/test"]}})