| A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago | 1 | set shell := ["bash", "-euo", "pipefail", "-c"] |
| 2 | |
| Find the sibling checkouts from a worktree too cd7e9d2 nandi 19d ago | 3 | # Sibling checkouts, found relative to the *main* checkout rather than to this |
| 4 | # directory. In a git worktree they are not the same place: the justfile sits |
| 5 | # at .claude/worktrees/<name>, so "../vidya" from here would be |
| 6 | # .claude/worktrees/vidya, which is nothing. `--git-common-dir` is the one |
| 7 | # thing that answers the same in a worktree as it does in the checkout it came |
| 8 | # from. |
| 9 | checkout := parent_directory(`git rev-parse --path-format=absolute --git-common-dir`) |
| 10 | vidya := checkout / "../vidya" |
| 11 | jolt_native := checkout / "../jolt-native" |
| A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago | 12 | |
| 13 | default: |
| 14 | @just --list |
| 15 | |
| 16 | # libvidya (Rust/egui build) — the tree ABI glimmer-vidya binds. |
| 17 | lib: |
| 18 | cd {{vidya}} && just ffi |
| 19 | |
| Calls f31ad3d nandi 19d ago | 20 | # libjoltmoq — the AV media plane. Only needed for calls; everything else in |
| 21 | # the client runs without it. |
| 22 | av: |
| 23 | cd {{jolt_native}} && just build |
| 24 | |
| A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago | 25 | # The app. Point LD_LIBRARY_PATH at whichever libvidya build you have. |
| 26 | run *args: |
| Calls f31ad3d nandi 19d ago | 27 | LD_LIBRARY_PATH="{{vidya}}/build:{{vidya}}/ffi/target/release:{{jolt_native}}/target/release" jolt -M:frq {{args}} |