-
Notifications
You must be signed in to change notification settings - Fork 10
/
project.clj
38 lines (38 loc) · 2.27 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
(defproject org.clojars.quoll/asami "2.3.4"
:description "An in memory graph store for Clojure and ClojureScript"
:url "http://github.com/threatgrid/asami"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.11.1"]
[prismatic/schema "1.1.12"]
[org.clojure/core.cache "1.0.217"]
[org.clojars.quoll/zuko "0.6.7"]
[org.clojars.quoll/qtest "0.1.1"]
[org.clojure/data.priority-map "1.0.0"]
[tailrecursion/cljs-priority-map "1.2.1"]]
:plugins [[lein-cljsbuild "1.1.8"]]
:profiles {:dev {:dependencies [[org.clojure/clojurescript "1.11.60"]]}
:uberjar {:aot [asami.peer]}
:native {:plugins [[lein-shell "0.5.0"]]
:source-paths ["src" "src-native"]
:aot :all
:main asami.main
:dependencies [[cheshire "5.10.0"]]
:aliases {"native" ["shell"
"native-image" "--report-unsupported-elements-at-runtime"
"--initialize-at-build-time" "--no-server"
"-jar" "./target/${:uberjar-name:-${:name}-${:version}-standalone.jar}"
"-H:Name=./target/${:name}"
"-H:TraceClassInitialization=\"java.io.FilePermission\""]}}
:test-native {:source-paths ["src" "src-native" "test-native"]
:test-paths ["test-native"]
:dependencies [[cheshire "5.10.0"]]}}
:cljsbuild {:builds {:dev {:source-paths ["src"]
:compiler {:output-to "out/asami/core.js"
:optimizations :simple
:pretty-print true}}
:test {:source-paths ["src" "test"]
:compiler {:output-to "out/asami/test_memory.js"
:optimizations :simple
:pretty-print true}}}
:test-commands {"unit" ["node" "out/asami/test_memory.js"]}})