|
1 | | -(defproject com.yetanalytics/xapi-schema "0.1.2" |
| 1 | +(defproject com.yetanalytics/xapi-schema "0.1.3-SNAPSHOT" |
2 | 2 | :description "Clojure(script) Schema for the Experience API v1.0.3" |
3 | 3 | :url "https://github.com/yetanalytics/xapi-schema" |
4 | 4 | :license {:name "Eclipse Public License" |
5 | 5 | :url "http://www.eclipse.org/legal/epl-v10.html"} |
6 | | - :dependencies [[org.clojure/clojure "1.7.0-RC1"] |
| 6 | + :dependencies [[org.clojure/clojure "1.7.0-RC2"] |
7 | 7 | [org.clojure/clojurescript "0.0-3308"] |
8 | 8 | [prismatic/schema "0.4.3"] |
9 | 9 | [cheshire "5.5.0"] |
10 | 10 | [org.clojure/core.match "0.3.0-alpha4"] |
11 | 11 | [com.taoensso/tower "3.1.0-beta3"]] |
12 | 12 | :exclusions [[org.clojure/clojure] |
13 | 13 | [org.clojure/clojurescript]] |
14 | | - :plugins [[lein-cljsbuild "1.0.6"] |
15 | | - [speclj "3.2.0"]] |
16 | | - :profiles {:dev {:dependencies [[speclj "3.2.0"]] |
17 | | - :plugins [[com.keminglabs/cljx "0.6.0" :exclusions [org.clojure/clojure]]]}} |
18 | | - |
19 | | - :cljx {:builds [{:source-paths ["src/cljx"] |
20 | | - :output-path "target/classes/clj" |
21 | | - :rules :clj} |
22 | | - {:source-paths ["src/cljx"] |
23 | | - :output-path "target/classes/cljs" |
24 | | - :rules :cljs} |
25 | | - {:source-paths ["spec/cljx"] |
26 | | - :output-path "target/spec/clj" |
27 | | - :rules :clj} |
28 | | - {:source-paths ["spec/cljx"] |
29 | | - :output-path "target/spec/cljs" |
30 | | - :rules :cljs}]} |
| 14 | + :plugins [[lein-cljsbuild "1.0.6"]] |
| 15 | + :profiles {:dev {:dependencies [[speclj "3.3.0"]]}} |
31 | 16 |
|
32 | 17 | :cljsbuild {:builds [{:id "dev" |
33 | | - :source-paths ["target/classes/cljs"] |
| 18 | + :source-paths ["src"] |
34 | 19 | :compiler {:output-to "target/js/xapi_schema_dev.js" |
35 | 20 | :optimizations :whitespace |
36 | 21 | :pretty-print true}} |
37 | | - {:id "test" |
38 | | - :source-paths ["target/classes/cljs" "target/spec/cljs" "spec/clj"] |
39 | | - :compiler {:output-to "target/js/xapi_schema_test.js" |
40 | | - :optimizations :whitespace |
41 | | - :pretty-print true} |
42 | | - :notify-command ["phantomjs" "bin/speclj" "target/js/xapi_schema_test.js"]} |
43 | | - {:id "test-browser" |
44 | | - :source-paths ["target/classes/cljs"] |
45 | | - :compiler {:output-to "resources/public/xapi_schema.js" |
46 | | - :optimizations :advanced}} |
47 | 22 | {:id "release" |
48 | | - :source-paths ["target/classes/cljs"] |
| 23 | + :source-paths ["src"] |
49 | 24 | :compiler {:output-to "target/js/xapi_schema.js" |
50 | | - :optimizations :advanced}}] |
51 | | - :test-commands {"test" ["phantomjs" "bin/speclj" "target/js/xapi_schema_test.js"]}} |
52 | | - :source-paths ["target/classes/clj"] |
53 | | - :resource-paths ["resources" "target/classes/cljs"] |
54 | | - :test-paths ["target/classes/clj" "target/spec/clj" "spec/clj"] |
55 | | - :prep-tasks [["cljx" "once"] "javac" "compile"] |
56 | | - :aliases {"build-once" ["do" "clean," "cljx" "once"] |
57 | | - "deploy-lib" ["do" "build-once," "deploy" "clojars"] |
58 | | - "spec-clj" ["do" "clean," "spec"] |
59 | | - "spec-cljs" ["do" "clean," "cljx," "cljsbuild" "once" "test"]}) |
| 25 | + :optimizations :advanced}}]} |
| 26 | + :resource-paths ["resources"] |
| 27 | + :test-paths ["spec" "dev"] |
| 28 | + :aliases {"deploy-lib" ["do" "clean," "deploy" "clojars"] |
| 29 | + "spec-cljs" ["do" "clean," "run" "-m" "xapi-schema.dev.cljs"] |
| 30 | + "spec-clj" ["do" "run" "-m" "xapi-schema.dev.spec"] |
| 31 | + "ci" ["do" "spec-clj," "spec-cljs"]}) |
0 commit comments