nandi/jolt-nativepublic Fork 0
0b92f67f944e81120d053ace058b0ffde413140e
Commits
Clone
git clone https://git.rickub.com/nandi/jolt-native.git
git clone ssh://git@rickub.com/nandi/jolt-native.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

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