nandi/jolt-nativepublic Fork 0
b49f82a39153750d5c1e6c4367cdfa18e8c0481c
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.

Take the eight tags a client still had nowhere to put d5dfd53 · on b49f82a39153750d5c1e6c4367cdfa18e8c0481c · nandi · 9d ago
deps.edn · 28 lines · 1.5 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
24
25
26
27
28
{: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"]}
               ;; Pictures from files — an avatar, an attachment, a paste.
               ;; Optional like the other two: a caller that shows none, and
               ;; the layout tests, run without it.
               {:name "SDL3_image" :optional true
                :linux ["libSDL3_image.so.0"] :darwin ["libSDL3_image.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"}}