| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 1 | # 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 ago | 5 | |
| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 6 | set shell := ["bash", "-euo", "pipefail", "-c"] |
| A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago | 7 | |
| 8 | default: |
| 9 | @just --list |
| 10 | |
| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 11 | # Both native libraries, cloning jolt-native at the pinned commit if needed. |
| 12 | lib: |
| 13 | scripts/lib.bb |
| Take glimmer-vidya from gitlab, so a stranger can build this 5c40e75 nandi 19d ago | 14 | |
| Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 19d ago | 15 | # buck2, with the machine's paths written where the BUCK files can read them. |
| 16 | buck *args: |
| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 17 | scripts/buck.bb {{args}} |
| Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 19d ago | 18 | |
| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 19 | # 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 ago | 20 | apk action="build": |
| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 21 | scripts/apk.bb {{action}} |
| 22 | |
| Take every jolt-native half from the release, and only from there a008d3b nandi 18d ago | 23 | # Every jolt-native pin — manifests, deps.edn, the buck table — at a release. |
| 24 | bump tag="": |
| 25 | scripts/bump-jolt-native.bb {{tag}} |
| 26 | |
| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 27 | # The archives scripts/*.dotslash pins, as the table buck reads. |
| 28 | sync-dist: |
| 29 | scripts/dotslash-to-buck |
| Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 19d ago | 30 | |
| Take both native libraries from one place a66d1c1 nandi 19d ago | 31 | # The app. |
| A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago | 32 | run *args: |
| Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago | 33 | scripts/run.bb {{args}} |