nandi/frqpublic Fork 0
43ada0baeebdb0aaa22e7659498a9422d3642725
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.

Write the build in babashka, and pin the babashka 34832a8 · on 43ada0baeebdb0aaa22e7659498a9422d3642725 · nandi · 18d ago
justfile · 29 lines · 818 BMakefile Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Every recipe here is one line, because the work is in scripts/ — babashka
# scripts, run through the pin in scripts/bb. A recipe body is a shell script
# nobody can run on its own; a script in scripts/ is a script, and buck runs
# two of them as actions.

set shell := ["bash", "-euo", "pipefail", "-c"]

default:
    @just --list

# Both native libraries, cloning jolt-native at the pinned commit if needed.
lib:
    scripts/lib.bb

# buck2, with the machine's paths written where the BUCK files can read them.
buck *args:
    scripts/buck.bb {{args}}

# The APK. `just apk install` puts it on the device.
apk action="build":
    scripts/apk.bb {{action}}

# The archives scripts/*.dotslash pins, as the table buck reads.
sync-dist:
    scripts/dotslash-to-buck

# The app.
run *args:
    scripts/run.bb {{args}}