nandi/frqpublic Fork 0
0b81161729da328ff48b7be822fd075b30fa8ba6
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 · 958 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
Build the APK as derivations only, and retire the buck2 graph 3bc3aaa nandi 16d ago11# 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 ago12apk action="build":
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago13 scripts/apk.bb {{action}}
14
Build the desktop libraries rather than fetching a release of them 0b81161 nandi 15d ago15# Every jolt-native pin — nix/android.nix and deps.edn — at a release.
Take every jolt-native half from the release, and only from there a008d3b nandi 18d ago16bump tag="":
17 scripts/bump-jolt-native.bb {{tag}}
18
Run this tree on a native half the builders made a32699e nandi 17d ago19# 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 ago20run *args:
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago21 scripts/run.bb {{args}}
Paint the same screens into a terminal ab83b42 nandi 17d ago22
23# The same screens in a terminal. `just tui --headless` prints one screenshot.
24tui *args:
25 scripts/tui.bb {{args}}
Build the desktop libraries rather than fetching a release of them 0b81161 nandi 15d ago26
27# A jolt with the native libraries under it: a REPL, or `just repl nrepl-server`.
28repl *args:
29 scripts/repl.bb {{args}}