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.

Write dvui's shape in jolt, on SDL3, with no shared object 109c7e4 · on 0b92f67f944e81120d053ace058b0ffde413140e · Veronika Winters · 9d ago
deps.edn · 23 lines · 1.2 KBClojure Blame HistoryRaw
 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"}}