-
Notifications
You must be signed in to change notification settings - Fork 113
/
project.clj
98 lines (86 loc) · 5.14 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
(defproject net.mikera/core.matrix "0.51.1-SNAPSHOT"
:url "https://github.com/mikera/core.matrix"
:license {:name "Eclipse Public License (EPL)"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.10.1"]]
:source-paths ["src/main/clojure"]
:java-source-paths ["src/main/java"]
:test-paths [ "src/test/java" "src/test/clojure"]
:profiles {:dev
{:dependencies
[[net.mikera/vectorz-clj "0.43.1" :exclusions [net.mikera/core.matrix]]
[clatrix "0.5.0" :exclusions [net.mikera/core.matrix]]
[org.clojure/test.check "0.9.0"]
[net.mikera/cljunit "0.4.0"]
[criterium/criterium "0.4.3"]
[org.clojure/tools.macro "0.1.5"]
]
:plugins [[lein-codox "0.9.0"]]
:source-paths ["src/main/clojure" "src/test/cljs" "src/test/clojure"]
:java-source-paths ["src/test/java"]
:jvm-opts ^:replace []}
:clean-targets ^{:protect false} ["resources/public/js" :target]
:test
{:dependencies [[net.mikera/vectorz-clj "0.43.0" :exclusions [net.mikera/core.matrix]]
[clatrix "0.5.0" :exclusions [net.mikera/core.matrix]]
[net.mikera/cljunit "0.4.0"]
[criterium/criterium "0.4.3"]
[org.clojure/clojurescript "1.9.908"]
[org.clojure/tools.macro "0.1.5"]
[org.clojure/test.check "0.9.0"]
[javax.xml.bind/jaxb-api "2.4.0-b180830.0359"]]}
:cljs
{:dependencies [[org.clojure/clojurescript "1.9.908"]
[thinktopic/aljabr "0.1.0-SNAPSHOT" :exclusions [net.mikera/core.matrix]]
[figwheel-sidecar "0.5.8"]
[com.cemerick/piggieback "0.2.1"]
[javax.xml.bind/jaxb-api "2.4.0-b180830.0359"]
]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:plugins [[lein-figwheel "0.5.13"]
[lein-doo "0.1.7"]
[lein-cljsbuild "1.1.7" :exclusions [[org.clojure/clojure]]]
]
:cljsbuild {:builds
{:dev {:figwheel true
:source-paths ["src/main/clojure" "src/test/cljs" "src/test/clojure"]
:compiler {:output-to "resources/public/js/core.matrix.js"
:output-dir "resources/public/js/out"
:asset-path "out/"
:optimizations :none
:verbose true
:warnings true
:parallel-build true
:pretty-print true}}
:test {:source-paths ["src/main/clojure" "src/test/cljs" "src/test/clojure"]
:compiler {:output-to "resources/public/js/unit-test.js"
:asset-path "out/"
:main clojure.core.matrix.cljs-runner
:optimizations :advanced
:parallel-build true
:verbose true
:warnings true
;;avoids "typeerror: undefined is not an object " error
;; see https://github.com/bensu/doo/pull/141#issuecomment-318999398
:process-shim false
:pretty-print true}}}
:figwheel {:load-warninged-code true :css-dirs ["resources/public/css"] :server-port 8765}
}
}}
:marginalia {:javascript ["http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"]}
;;runs both clj and cljs tests on invocation of "lein test"
:aliases {"test" ["do" "clean," "test," "with-profile" "cljs" "doo" "nashorn" "test" "once"]}
:codox {:namespaces [clojure.core.matrix
clojure.core.matrix.dataset
clojure.core.matrix.io
clojure.core.matrix.linear
clojure.core.matrix.random
clojure.core.matrix.operators
clojure.core.matrix.protocols
clojure.core.matrix.random
clojure.core.matrix.implementations
clojure.core.matrix.selection
clojure.core.matrix.stats
clojure.core.matrix.utils]
:src-dir-uri "https://github.com/mikera/core.matrix/blob/master/"
:src-linenum-anchor-prefix "L"})