forked from nginx-clojure/nginx-clojure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
30 lines (30 loc) · 1.31 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
(defproject nginx-clojure "0.1.0"
:description "Nginx module for clojure & java programming"
:url "https://github.com/xfeep/nginx-clojure"
:license {:name "BSD 2-Clause license"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [
[org.clojure/clojure "1.5.1"]
]
;; CLJ source code path
:source-paths ["src/clojure"]
:target-path "target/"
:global-vars {*warn-on-reflection* true
*assert* false}
:java-source-paths ["src/java" "test/java"]
:test-paths ["src/test/clojure"]
:javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"]
;; Directory in which to place AOT-compiled files. Including %s will
;; splice the :target-path into this value.
:compile-path "target/classy-files"
;; Leave the contents of :source-paths out of jars (for AOT projects).
:omit-source false
:jar-exclusions [#"^test" #"\.java$"]
:uberjar-exclusions [#"^test" #"\.java$"]
:profiles {:dev {:dependencies [;only for test usage
[ring/ring-core "1.2.1"]
[clj-http "0.7.8"]
[junit/junit "4.10"]]}
:1.4 {:dependencies [[org.clojure/clojure "1.4.0"]]}
:1.5 {:dependencies [[org.clojure/clojure "1.5.0"]]}
})