forked from clojure-liberator/liberator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
41 lines (34 loc) · 1.93 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
(defproject liberator "0.14.1-SNAPSHOT"
:description "Liberator - A REST library for Clojure."
:url "http://clojure-liberator.github.io/liberator"
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/data.json "0.2.1"]
[org.clojure/data.csv "0.1.2"]
[hiccup "1.0.3"]] ;; Used by code rendering default representations.
:deploy-repositories [["releases" :clojars]]
:lein-release {:deploy-via :clojars}
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo
:comments "same as Clojure"}
:scm {:connection "scm:git:https://github.com/clojure-liberator/liberator.git"
:url "https://github.com/clojure-liberator/liberator"}
:plugins [[lein-midje "3.1.3" :exclusions [leiningen-core]]
[lein-ring "0.8.10" :exclusions [org.clojure/clojure]]]
:profiles {:dev {:dependencies [[ring/ring-jetty-adapter "1.2.1" :exclusions [joda-time]]
[ring-mock "0.1.2"]
[ring/ring-devel "1.2.1" :exclusions [joda-time]]
[midje "1.6.0" :exclusions [org.clojure/clojure]]
;; only for examples
[compojure "1.0.2" :exclusions [org.clojure/tools.macro]]
[org.clojure/clojurescript "0.0-1450"]]
:source-paths [ "src" "examples/clj"]}
:1.4 {:dependencies [[org.clojure/clojure "1.4.0"]]}
:1.5 {:dependencies [[org.clojure/clojure "1.5.1"]]}
:1.6 {:dependencies [[org.clojure/clojure "1.6.0-beta1"]]}}
:source-paths ["src"]
:test-paths ["test"]
:ring {:handler examples.server/handler
:adapter {:port 8000}}
:aliases {"examples" ["run" "-m" "examples.server"]
"test-all" ["with-profile" "+1.4:+1.5:+1.6" "test"]})