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

Play three games on the gfx backend e98a184 · on 8d2eb15ac93bf79230fea5f2c20e06b8c4fa80c0 · nandi · 11d ago
deps.edn · 12 lines · 920 BClojure Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
;; 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'"}}