forked from michaelklishin/validateur
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
47 lines (47 loc) · 2.87 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
(defproject com.novemberain/validateur "2.4.0-SNAPSHOT"
:description "Functional validations inspired by Ruby's ActiveModel"
:license { :name "Eclipse Public License" }
:url "http://clojurevalidations.info"
:min-lein-version "2.5.0"
:dependencies [[org.clojure/clojure "1.6.0"]]
:jar-exclusions [#"\.cljx"]
:profiles {:1.4 {:dependencies [[org.clojure/clojure "1.4.0"]]}
:1.5 {:dependencies [[org.clojure/clojure "1.5.1"]]}
:1.7 {:dependencies [[org.clojure/clojure "1.7.0-alpha4"]]}
:master {:dependencies [[org.clojure/clojure "1.7.0-master-SNAPSHOT"]]}
:dev {:dependencies [[org.clojure/clojurescript "0.0-2138"]]
:plugins [[codox "0.8.10"]
[com.keminglabs/cljx "0.3.2"]
[lein-cljsbuild "1.0.2"]
[com.cemerick/clojurescript.test "0.2.1"]]
:cljx {:builds [{:source-paths ["src/cljx"]
:output-path "target/classes"
:rules :clj}
{:source-paths ["src/cljx"]
:output-path "target/classes"
:rules :cljs}
{:source-paths ["test"]
:output-path "target/test-classes"
:rules :clj}
{:source-paths ["test"]
:output-path "target/test-classes"
:rules :cljs}]}
:cljsbuild {:test-commands {"phantom" ["phantomjs" :runner "target/testable.js"]}
:builds [{:source-paths ["target/classes" "target/test-classes"]
:compiler {:output-to "target/testable.js"
:libs [""]
:source-map "target/testable.js.map"
:optimizations :advanced}}]}
:codox {:sources ["src/cljx" "target/classes"]
:output-dir "doc/api"}}}
:aliases {"all" ["with-profile" "+dev:+1.4:+1.5:+1.7:+master"]}
:repositories {"sonatype" {:url "http://oss.sonatype.org/content/repositories/releases"
:snapshots false
:releases {:checksum :fail :update :always}}
"sonatype-snapshots" {:url "http://oss.sonatype.org/content/repositories/snapshots"
:snapshots true
:releases {:checksum :fail :update :always}}}
:source-paths ["src/cljx" "target/classes"]
:test-paths ["target/test-classes"]
:test-selectors {:focus :focus}
:codox {:only [validateur.validation]})