-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.clj
More file actions
49 lines (45 loc) · 2.22 KB
/
project.clj
File metadata and controls
49 lines (45 loc) · 2.22 KB
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
(defproject mobdap "0.2.1"
:description "Debug adapter implementation for Lua / MobDap"
:url "https://github.com/atomicptr/mobdap"
:license {:name "GPL-3.0-or-later" :url "https://www.gnu.org/licenses/gpl-3.0.en.html"}
:dependencies [[cheshire/cheshire "6.1.0"]
[org.clojure/tools.cli "1.2.245"]
[clj-stacktrace "0.2.8"]
[com.taoensso/timbre "6.8.0"]
[org.clojure/clojure "1.12.3"]
[org.clojure/core.async "1.8.741"]
[org.luaj/luaj-jse "3.0.1"]]
:plugins [[io.taylorwood/lein-native-image "0.3.1"]
[lein-set-version/lein-set-version "0.4.1"]
[lein-ancient "1.0.0-RC3"]]
:main ^:skip-aot mobdap.main
:omit-source true
:source-paths ["src"]
:target-path "target/%s"
:global-vars {*warn-on-reflection* true}
:profiles {:default
{:main ^:skip-aot mobdap.main
:set-version {:updates [{:path "src/mobdap/main.clj"
:search-regex #"mobdap-version \"\d+\.\d+\.\d+(-\w+)?\""
:replace-regex #"\d+\.\d+\.\d+(-\w+)?"}]}}
:dev
{:main ^:skip-aot mobdap.dev
:source-paths ["src" "dev"]
:dependencies [[nrepl/nrepl "1.4.0"]]}
:test
{:dependencies [[nubank/matcher-combinators "3.9.2"]]}
:uberjar
{:main mobdap.main
:aot :all
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]
:global-vars {*warn-on-reflection* false}}
:native-image
{:main mobdap.main
:aot :all
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]
:global-vars {*warn-on-reflection* false}
:native-image {:opts ["-H:ReflectionConfigurationFiles=resources/reflection.json"
"--verbose"
"--no-fallback"
"--parallelism=32"
"--initialize-at-build-time"]}}})