forked from replikativ/datahike
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
101 lines (88 loc) · 5.09 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
98
99
100
101
(defproject io.replikativ/datahike "0.3.1"
:description "A durable datalog implementation adaptable for distribution."
:license {:name "Eclipse"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:url "https://github.com/replikativ/datahike"
:dependencies [[org.clojure/clojure "1.10.1" :scope "provided"]
[org.clojure/clojurescript "1.10.597" :scope "provided"]
[persistent-sorted-set "0.1.2"]
[org.clojure/tools.reader "1.3.2"]
[environ "1.2.0"]
[io.replikativ/hitchhiker-tree "0.1.7"]
[io.replikativ/superv.async "0.2.9"]
[io.lambdaforge/datalog-parser "0.1.7"]
[io.replikativ/zufall "0.1.0"]
[junit/junit "4.13"]]
:plugins [[lein-cljsbuild "1.1.7"]]
:global-vars {*warn-on-reflection* true
*print-namespace-maps* false}
;; *unchecked-math* :warn-on-boxed
:jvm-opts ["-Xmx2g" "-server"]
:java-source-paths ["java/src"]
:test-paths ["test/datahike/test.cljc" "test/datahike/test"]
:aliases {"test-clj" ["run" "-m" "datahike.test/test-clj"]
"test-cljs" ["do" ["cljsbuild" "once" "release" "advanced"]
["run" "-m" "datahike.test/test-node" "--all"]]
"node-repl" ["run" "-m" "user/node-repl"]
"browser-repl" ["run" "-m" "user/browser-repl"]
"test-all" ["do" ["clean"] ["test-clj"] ["test-cljs"]]
"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]}
:cljsbuild {:builds [{:id "release"
:source-paths ["src"]
:assert false
:compiler {:output-to "release-js/datahike.bare.js"
:optimizations :advanced
:pretty-print false
:elide-asserts true
:output-wrapper false
:parallel-build true
:checked-arrays :warn}
:notify-command ["release-js/wrap_bare.sh"]}
{:id "advanced"
:source-paths ["src" "test"]
:compiler {:output-to "target/datahike.js"
:optimizations :advanced
:source-map "target/datahike.js.map"
:pretty-print true
:recompile-dependents false
:parallel-build true
:checked-arrays :warn}}
{:id "bench"
:source-paths ["src" "bench/src"]
:compiler {:output-to "target/datahike.js"
:optimizations :advanced
:source-map "target/datahike.js.map"
; :pretty-print true
:recompile-dependents false
:parallel-build true
:checked-arrays :warn
; :pseudo-names true
:fn-invoke-direct true
:elide-asserts true}}
{:id "none"
:source-paths ["src" "test"]
:compiler {:main datahike.test
:output-to "target/datahike.js"
:output-dir "target/none"
:optimizations :none
:source-map true
:recompile-dependents false
:parallel-build true
:checked-arrays :warn}}]}
:profiles {:1.9 {:dependencies [[org.clojure/clojure "1.10.1" :scope "provided"]
[org.clojure/clojurescript "1.10.520" :scope "provided"]]}
:dev {:source-paths ["bench/src" "test" "dev"]
:dependencies [[org.clojure/tools.nrepl "0.2.13"]
[org.clojure/tools.namespace "1.0.0"]
[lambdaisland/kaocha "1.0.632"]
[lambdaisland/kaocha-cljs "0.0-71"]
[io.replikativ/datahike-leveldb "0.1.0"]
[io.replikativ/datahike-postgres "0.3.1-SNAPSHOT"]]}
:aot {:aot [#"datahike\.(?!query-v3).*"]
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]}
:kaocha {:dependencies [[lambdaisland/kaocha "1.0.632"]
[io.replikativ/datahike-leveldb "0.1.0"]
[io.replikativ/datahike-postgres "0.3.1-SNAPSHOT"]]}}
:clean-targets ^{:protect false} ["target"
"release-js/datahike.bare.js"
"release-js/datahike.js"])