-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
70 lines (70 loc) · 2.97 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
(let [version (str "1.0.0_" (or (System/getenv "BUILD_NUMBER") "SNAPSHOT"))]
(defproject schedule version
:description "A schedule clojure server"
:url "https://schedule.herokuapps.com"
:license {:name "MIT"}
:min-lein-version "2.0.0"
:source-paths ["src/clj", "war/WEB-INF/classes"] ;Making log4j available
:test-paths ["test/clj"]
:main schedule.web
:aot [schedule.web]
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/data.zip "0.1.2"]
[org.clojure/data.xml "0.0.8"]
[org.clojure/data.json "0.2.6"]
[org.clojure/tools.logging "0.3.1"]
[javax.servlet/javax.servlet-api "3.1.0"]
[compojure "1.5.1"]
[ring/ring-defaults "0.2.1"]
[ring/ring-core "1.5.0"]
[ring/ring-devel "1.5.0"]
[ring/ring-json "0.4.0"]
[ring.middleware.logger "0.5.0"]
[http-kit "2.2.0"]
[environ "1.1.0"]
[clj-http "3.4.1"]
[hiccup "1.0.5"]
[com.novemberain/monger "3.1.0"]
[ragtime "0.6.3"]
[org.postgresql/postgresql "9.4.1212"]
[clojure.jdbc/clojure.jdbc-c3p0 "0.3.2"]
[honeysql "0.8.1"]
[clj-time "0.12.2"]
[optimus "0.19.0"]]
:plugins [[lein-environ "1.0.2"]]
:ring
{ :handler schedule.web/handler
:uberwar-name ~(str "schedule-with-dependencies_" version ".war")}
:uberjar {:aot :all}
:uberjar-name ~(str "schedule-standalone_" version ".jar")
:profiles {
:production
{:env {:production "true" :clj-env "production"}}
:test
{ :plugins [[com.jakemccrary/lein-test-refresh "0.16.0"]
[lein-cloverage "1.0.6"]
[lein-dotenv "RELEASE"]]
:resource-paths ["resources" "test/resources/"]
:dependencies [[pjstadig/humane-test-output "0.8.1"]]
:env {:test "true" :clj-env "test"}
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]}
:dev
{ :plugins [[lein-dotenv "RELEASE"] [lein-cooper "1.2.2"]]
:env {:development "true" :clj-env "development"}
:resource-paths ["resources"]
:dependencies [[clj-livereload "0.2.0"]
[org.clojure/tools.nrepl "0.2.12"]]
:injections [(require 'clj-livereload.server)
(clj-livereload.server/start! {:paths ["resources/public/" "src/clj/schedule/"] :debug? true})]
:cooper {"test" ["lein" "with-profile" "base,test" "test-refresh"]
"mongo" ["mongod" "--dbpath" "tmp/db/data"]
"server" ["lein" "run"]}}
:repl
{ :plugins [[lein-dotenv "RELEASE"]]
:env {:development "true" :clj-env "development"}
:dependencies [[org.clojure/tools.nrepl "0.2.12"]]
:resource-paths ["resources"]}}
:test-refresh {:notify-command ["terminal-notifier" "-title" "Skeleton Tests" "-message"]}
:aliases {"migrate" ["with-profile" "base" "run" "-m" "schedule.db.migration/migrate"]
"rollback" ["with-profile" "base" "run" "-m" "schedule.db.migration/rollback"]}))