nandi/frqpublic Fork 0
5129987e73e4eeb554341ae6cd20888b4964bd4d
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 · 33 lines · 954 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
2# scripts, run through the pin in scripts/bb. A recipe body is a shell script
3# nobody can run on its own; a script in scripts/ is a script, and buck runs
4# two of them as actions.
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
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago11# Both native libraries, cloning jolt-native at the pinned commit if needed.
12lib:
13 scripts/lib.bb
Take glimmer-vidya from gitlab, so a stranger can build this 5c40e75 nandi 19d ago14
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 19d ago15# buck2, with the machine's paths written where the BUCK files can read them.
16buck *args:
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago17 scripts/buck.bb {{args}}
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 19d ago18
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago19# The APK. `just apk install` puts it on the device.
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 19d ago20apk action="build":
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago21 scripts/apk.bb {{action}}
22
Take every jolt-native half from the release, and only from there a008d3b nandi 18d ago23# Every jolt-native pin — manifests, deps.edn, the buck table — at a release.
24bump tag="":
25 scripts/bump-jolt-native.bb {{tag}}
26
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago27# The archives scripts/*.dotslash pins, as the table buck reads.
28sync-dist:
29 scripts/dotslash-to-buck
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 19d ago30
Take both native libraries from one place a66d1c1 nandi 19d ago31# The app.
A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago32run *args:
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago33 scripts/run.bb {{args}}