| 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 |
| Take both native libraries from one place a66d1c1 nandi 19d ago | 5 | # at .claude/worktrees/<name>, so "../jolt-native" from here would be |
| 6 | # .claude/worktrees/jolt-native, which is nothing. `--git-common-dir` is the one |
| Find the sibling checkouts from a worktree too cd7e9d2 nandi 19d ago | 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 | jolt_native := checkout / "../jolt-native" |
| A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago | 11 | |
| 12 | default: |
| 13 | @just --list |
| 14 | |
| Take both native libraries from one place a66d1c1 nandi 19d ago | 15 | # Both native libraries: libvidya (the tree ABI glimmer-vidya binds) and |
| 16 | # libjoltmoq (the AV media plane). One workspace, one target directory. |
| A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago | 17 | lib: |
| Calls f31ad3d nandi 19d ago | 18 | cd {{jolt_native}} && just build |
| 19 | |
| Take both native libraries from one place a66d1c1 nandi 19d ago | 20 | # The app. |
| A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago | 21 | run *args: |
| Take both native libraries from one place a66d1c1 nandi 19d ago | 22 | LD_LIBRARY_PATH="{{jolt_native}}/target/release" jolt -M:frq {{args}} |