-
Notifications
You must be signed in to change notification settings - Fork 7
/
project.clj
90 lines (89 loc) · 5.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
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
(def database-connection-url
(or (System/getenv "DB_JDBC_URL")
"jdbc:postgresql://localhost/objective8?user=objective8&password=development"))
(defproject objective8 "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:min-lein-version "2.0.0"
:test-paths ["test"]
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/core.cache "0.6.4"]
[http-kit "2.1.16"]
[org.clojure/tools.logging "0.3.1"]
[log4j/log4j "1.2.16" :exclusions [javax.mail/mail javax.jms/jms com.sun.jdmk/jmxtools com.sun.jmx/jmxri]]
[bidi "1.12.0"]
[ring "1.3.2"]
[ring/ring-json "0.3.1"]
[ring/ring-anti-forgery "1.0.0"]
[ring/ring-headers "0.1.2"]
[ring/ring-ssl "0.2.1"]
[com.cemerick/url "0.1.1"]
[org.apache.httpcomponents/httpclient "4.3.5"]
[xml-apis "1.4.01"]
[com.cemerick/friend "0.2.1" :exclusions [robert/hooke xml-apis]]
[de.ubercode.clostache/clostache "1.4.0"]
[enlive "1.1.5"]
[com.taoensso/tower "3.0.2"]
[clj-oauth "1.5.2"]
[cheshire "5.4.0"]
[clj-time "0.9.0"]
[korma "0.4.1"]
[org.clojure/java.jdbc "0.3.6"]
[postgresql "9.3-1102.jdbc41"]
[ragtime "0.3.8"]
[endophile "0.1.2"]
[org.pegdown/pegdown "1.2.0"]
[clojure-csv/clojure-csv "2.0.1"]
[hickory "0.5.4"]
[diff-match-patch-clj "1.0.0-SNAPSHOT"]
[crypto-random "1.2.0"]
[org.clojars.d-cent/stonecutter-oauth "0.2.0-SNAPSHOT"]
[com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer "r239" :exclusions [com.google.guava/guava com.google.code.findbugs/jsr305]]]
:main objective8.core
:plugins [[ragtime/ragtime.lein "0.3.8"]
[lein-cloverage "1.0.6"]]
:profiles {:dev {:source-paths ["dev"]
:repl-options {:init-ns user
:timeout 120000}
:dependencies [[midje "1.7.0"]
[ring/ring-mock "0.2.0"]
[clj-webdriver "0.7.2" :exclusions [org.seleniumhq.selenium/selenium-java
org.seleniumhq.selenium/selenium-server
org.seleniumhq.selenium/selenium-remote-driver
xml-apis]]
[org.seleniumhq.selenium/selenium-server "2.45.0"]
[org.seleniumhq.selenium/selenium-java "2.45.0"]
[org.seleniumhq.selenium/selenium-remote-driver "2.45.0"]
[org.clojure/algo.generic "0.1.2"]
[javax.servlet/servlet-api "2.5"]
[peridot "0.3.1"]
[robert/hooke "1.3.0"]]
:plugins [[lein-midje "3.1.3"]
[jonase/eastwood "0.2.1"]
[lein-shell "0.4.1"]]
:ragtime {:migrations ragtime.sql.files/migrations
:database ~database-connection-url}
:aliases {"translation-template" ["run" "-m" "dev-helpers.translation/main"]
"unit" ["do" "grunt," "midje" "objective8.unit.*"]
"integration" ["do" "grunt," "midje" "objective8.integration.*"]
"browser" ["do" "grunt," "shell" "test/run_browser_tests.sh"]
"test" ["do" "grunt," "shell" "test/run_all_tests.sh"]
"auto-no-browser" ["test" ":autotest" "src/" "test/objective8/unit/" "test/objective8/integration/"]
"grunt" ["shell" "grunt" "build"]
"start" ["shell" "./start_app_vm.sh"]}
:jvm-opts ["-Dlog4j.configuration=log4j.dev"]}
:load-testing {:source-paths ["load_testing"]
:repl-options [:init-ns load-tests]
:dependencies [[clj-gatling "0.5.4"]
[org.clojure/tools.nrepl "0.2.10"]]
:main load-tests}
:uberjar {:source-paths ["prod"]
:jvm-opts ["-Dlog4j.configuration=log4j.dev"]
:ragtime {:migrations ragtime.sql.files/migrations
:database ~database-connection-url}
:main main
:aot [main]}
:heroku {:repl-options {:init-ns user
:timeout 120000}
:ragtime {:migrations ragtime.sql.files/migrations
:database ~database-connection-url}
:jvm-opts ["-Dlog4j.configuration=log4j.heroku"]}})