1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{:paths ["src"]
;; jvui has no dependencies. It is not a glimmer backend — there is no
;; reconciler here and no tree to patch — it is an immediate-mode toolkit in
;; the shape of dvui, written in jolt, calling SDL3 directly.
;;
;; Both libraries are *system* libraries, like glimmer-gfx's Xlib and unlike
;; this repo's own crates: they must be ones the jolt binary can load, and on
;; a nix-built jolt the host /usr/lib copies are a different glibc and fail
;; before dlopen returns. :optional so the layout tests, which open no window,
;; run on a machine with neither installed.
:jolt/native [{:name "SDL3" :optional true
:linux ["libSDL3.so.0"] :darwin ["libSDL3.0.dylib"]}
{:name "SDL3_ttf" :optional true
:linux ["libSDL3_ttf.so.0"] :darwin ["libSDL3_ttf.0.dylib"]}]
:aliases {:test {:extra-paths ["test"] :main-opts ["-m" "jvui.tests"]}
:counter {:extra-paths ["examples"] :main-opts ["-m" "jvui.counter"]}
:showcase {:extra-paths ["examples"] :main-opts ["-m" "jvui.showcase"]}}
:tasks {test "jolt -M:test"
counter "jolt -M:counter"
showcase "jolt -M:showcase"}}
|