forked from plumatic/schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
53 lines (42 loc) · 2.29 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
(defproject prismatic/schema "0.1.6-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"}
:dependencies [[potemkin "0.3.2"]]
:profiles {:dev {:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-1889"]
[com.keminglabs/cljx "0.3.0"]
[prismatic/cljs-test "0.0.6"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl
cljx.repl-middleware/wrap-cljx]}}}
:jar-exclusions [#"\.cljx|\.swp|\.swo|\.DS_Store"]
:plugins [[lein-cljsbuild "0.3.2"] [com.keminglabs/cljx "0.3.0"]]
:lein-release {:deploy-via :shell
:shell ["lein" "deploy" "clojars"]}
: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}]}
:prep-tasks ["cljx" "javac" "compile"]
:source-paths ["target/generated/src/clj" "src/clj"]
:resource-paths ["target/generated/src/cljs"]
:test-paths ["target/generated/test/clj" "test/clj"]
:cljsbuild {: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}}}})