| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 1 | # Every recipe here is one line, because the work is in scripts/ — babashka |
| Take bb from the flake, so a checkout needs nix and nothing else 270bee0 nandi 16d ago | 2 | # scripts, run through scripts/bb, which finds a bb the way this tree finds |
| 3 | # everything else. A recipe body is a shell script nobody can run on its own; |
| 4 | # a script in scripts/ is a script. |
| Take glimmer-vidya from gitlab, so a stranger can build this 5c40e75 nandi 19d ago | 5 | |
| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 6 | set shell := ["bash", "-euo", "pipefail", "-c"] |
| A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago | 7 | |
| 8 | default: |
| 9 | @just --list |
| 10 | |
| Run this tree on a native half the builders made a32699e nandi 17d ago | 11 | # Both native libraries, out of the release pins. `run` builds them instead. |
| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 12 | lib: |
| 13 | scripts/lib.bb |
| Take glimmer-vidya from gitlab, so a stranger can build this 5c40e75 nandi 19d ago | 14 | |
| Build the APK as derivations only, and retire the buck2 graph 3bc3aaa nandi 16d ago | 15 | # The APK, out of the flake. `just apk install` puts it on the device. |
| Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago | 16 | apk action="build": |
| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 17 | scripts/apk.bb {{action}} |
| 18 | |
| Build the APK as derivations only, and retire the buck2 graph 3bc3aaa nandi 16d ago | 19 | # Every jolt-native pin — the manifests, deps.edn, nix/android.nix — at a release. |
| Take every jolt-native half from the release, and only from there a008d3b nandi 18d ago | 20 | bump tag="": |
| 21 | scripts/bump-jolt-native.bb {{tag}} |
| 22 | |
| Run this tree on a native half the builders made a32699e nandi 17d ago | 23 | # The app: this tree's source on the flake's everything-else, in the dev shell. |
| A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago | 24 | run *args: |
| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 25 | scripts/run.bb {{args}} |