nandi/frqpublic Fork 0
6ba34b9ede813a07f1fb324c13d6483fcb2506a0
Commits
Clone
git clone https://git.rickub.com/nandi/frq.git
git clone ssh://git@rickub.com/nandi/frq.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

justfile · 29 lines · 948 BMakefile Blame HistoryRaw
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago1# 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 ago2# 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 ago5
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago6set shell := ["bash", "-euo", "pipefail", "-c"]
A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago7
8default:
9 @just --list
10
Run this tree on a native half the builders made a32699e nandi 17d ago11# Both native libraries, out of the release pins. `run` builds them instead.
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago12lib:
13 scripts/lib.bb
Take glimmer-vidya from gitlab, so a stranger can build this 5c40e75 nandi 19d ago14
Build the APK as derivations only, and retire the buck2 graph 3bc3aaa nandi 17d ago15# 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 19d ago16apk action="build":
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago17 scripts/apk.bb {{action}}
18
Build the APK as derivations only, and retire the buck2 graph 3bc3aaa nandi 17d ago19# 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 ago20bump tag="":
21 scripts/bump-jolt-native.bb {{tag}}
22
Run this tree on a native half the builders made a32699e nandi 17d ago23# 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 ago24run *args:
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago25 scripts/run.bb {{args}}
Paint the same screens into a terminal ab83b42 nandi 17d ago26
27# The same screens in a terminal. `just tui --headless` prints one screenshot.
28tui *args:
29 scripts/tui.bb {{args}}