nandi/frqpublic Fork 0
472e179b3bf7b6b6b58384036615ee6693c0f9d7
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 · 31 lines · 1.1 KBMakefile 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 17d 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 17d 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
Take the Android objects from jolt-native's CI, always the latest 472e179 nandi 11d ago15# The jolt-native source pin — deps.edn and the flake input — at a release. The
16# Android objects are not pinned here any more; `just apk` takes the latest CI
17# build of those on every run.
Take every jolt-native half from the release, and only from there a008d3b nandi 18d ago18bump tag="":
19 scripts/bump-jolt-native.bb {{tag}}
20
Run this tree on a native half the builders made a32699e nandi 17d ago21# 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 ago22run *args:
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago23 scripts/run.bb {{args}}
Paint the same screens into a terminal ab83b42 nandi 17d ago24
25# The same screens in a terminal. `just tui --headless` prints one screenshot.
26tui *args:
27 scripts/tui.bb {{args}}
Build the desktop libraries rather than fetching a release of them 0b81161 nandi 15d ago28
29# A jolt with the native libraries under it: a REPL, or `just repl nrepl-server`.
30repl *args:
31 scripts/repl.bb {{args}}