;; 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'"}}