forked from plumatic/schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
73 lines (63 loc) · 3.9 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
(defproject prismatic/schema "0.4.4-SNAPSHOT"
:description "Clojure(Script) library for declarative data description and validation"
:url "http://github.com/prismatic/schema"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:profiles {:dev {:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2760"]
[org.clojure/tools.nrepl "0.2.5"]]
:plugins [[com.keminglabs/cljx "0.6.0" :exclusions [org.clojure/clojure]]
[codox "0.8.8"]
[lein-cljsbuild "1.0.5"]
[com.cemerick/clojurescript.test "0.3.1"]]
:cljx {:builds [{:source-paths ["src/cljx"]
:output-path "target/generated/src/clj"
:rules :clj}
{:source-paths ["src/cljx"]
:output-path "target/generated/src/cljs"
:rules :cljs}
{:source-paths ["test/cljx"]
:output-path "target/generated/test/clj"
:rules :clj}
{:source-paths ["test/cljx"]
:output-path "target/generated/test/cljs"
:rules :cljs}]}}
:1.5 {:dependencies [[org.clojure/clojure "1.5.1"]]}
:1.7 {:dependencies [[org.clojure/clojure "1.7.0-RC1"] [org.clojure/clojurescript "0.0-3308"]]}}
:aliases {"all" ["with-profile" "dev:dev,1.5:dev,1.7"]
"deploy" ["do" "clean," "cljx" "once," "deploy" "clojars"]
"test" ["do" "clean," "cljx" "once," "test," "with-profile" "dev" "cljsbuild" "test"]}
:jar-exclusions [#"\.cljx|\.swp|\.swo|\.DS_Store"]
:lein-release {:deploy-via :shell
:shell ["lein" "deploy"]}
:auto-clean false
:source-paths ["target/generated/src/clj" "src/clj"]
:resource-paths ["target/generated/src/cljs"]
:test-paths ["target/generated/test/clj" "test/clj"]
:cljsbuild {:test-commands {"unit" ["phantomjs" :runner
"this.literal_js_was_evaluated=true"
"target/unit-test.js"]
"unit-no-assert" ["phantomjs" :runner
"this.literal_js_was_evaluated=true"
"target/unit-test-no-assert.js"]}
:builds
{:dev {:source-paths ["src/clj" "target/generated/src/cljs"]
:compiler {:output-to "target/main.js"
:optimizations :whitespace
:pretty-print true}}
:test {:source-paths ["src/clj" "test/clj"
"target/generated/src/cljs"
"target/generated/test/cljs"]
:compiler {:output-to "target/unit-test.js"
:optimizations :whitespace
:pretty-print true}}
:test-no-assert {:source-paths ["src/clj" "test/clj"
"target/generated/src/cljs"
"target/generated/test/cljs"]
:assert false
:compiler {:output-to "target/unit-test-no-assert.js"
:optimizations :whitespace
:pretty-print true}}}}
:codox {:src-uri-mapping {#"target/generated/src/clj" #(str "src/cljx/" % "x")}
:src-dir-uri "http://github.com/prismatic/schema/blob/master/"
:src-linenum-anchor-prefix "L"})