-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
42 lines (33 loc) · 1.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
(defproject authenticated-compojure-api "0.1.0-SNAPSHOT"
:description "An example compojure-api app with authentication using buddy"
:dependencies [[org.clojure/clojure "1.6.0"]
[metosin/compojure-api "0.20.0"]
[metosin/ring-http-response "0.6.1"]
[metosin/ring-swagger-ui "2.1.1-M2"]
[cheshire "5.4.0"]
[http-kit "2.1.18"]
[buddy "0.5.2"]
[org.clojure/java.jdbc "0.3.6"]
[postgresql/postgresql "9.3-1102.jdbc41"]
[yesql "0.5.0-rc2"]
[environ "1.0.0"]
[clj-time "0.9.0"]
[com.draines/postal "1.11.3"]]
:plugins [[lein-environ "1.0.0"]]
:min-lein-version "2.5.0"
:uberjar-name "server.jar"
:profiles {:uberjar {:resource-paths ["swagger-ui"]
:aot :all}
:test-local {:dependencies [[javax.servlet/servlet-api "2.5"]
[ring-mock "0.1.5"]
[cheshire "5.4.0"]]}
;; Set these in ./profiles.clj
:test-env-vars {}
:dev-env-vars {}
:test [:test-local :test-env-vars]
:dev [:dev-env-vars :test-local]
:production {:ring {:open-browser? false
:stacktraces? false
:auto-reload? false}}}
:test-selectors {:default (constantly true)
:wip :wip})