nandi/jolt-nativepublic Fork 0
1d16366b59c457d09332a93d7337e1c80fe934c0
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 1d16366b59c457d09332a93d7337e1c80fe934c0 · Veronika Winters · 9d ago
deps.edn · 21 lines · 1.4 KBClojure Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
;; Nothing in this repo is Clojure — the crates are cargo's and nix's business,
;; and the justfile is their entry point. This file exists for the one thing
;; that is neither: running a backend's example from the repo root.
;;
;; Through `nix develop` because a nix-built jolt cannot dlopen the host
;; /usr/lib libX11 — different glibc, fails before dlopen returns. The #gfx
;; shell is that one library on LD_LIBRARY_PATH and nothing else, so entering
;; it costs under a second once its env derivation is built.
{:tasks {gfx-demo "nix develop .#gfx -c bash -c 'cd glimmer-backends/glimmer-gfx && jolt counter'"
         gfx-game "nix develop .#gfx -c bash -c 'cd glimmer-backends/glimmer-gfx && jolt tictactoe'"
         gfx-maze "nix develop .#gfx -c bash -c 'cd glimmer-backends/glimmer-gfx && jolt maze'"
         gfx-rocks "nix develop .#gfx -c bash -c 'cd glimmer-backends/glimmer-gfx && jolt asteroids'"

         ;; jvui needs no nix shell: SDL3 is dlopened by name from the ambient
         ;; system, and nothing in that directory is compiled.
         jvui-counter  "bash -c 'cd jvui && jolt counter'"
         jvui-showcase "bash -c 'cd jvui && jolt showcase'"
         jvui-test     "bash -c 'cd jvui && jolt test'"

         glimmer-jvui      "bash -c 'cd glimmer-backends/glimmer-jvui && jolt counter'"
         glimmer-jvui-test "bash -c 'cd glimmer-backends/glimmer-jvui && jolt test'"}}