Files
leaguerecorder/AGENTS.md
T
vhaudiquet 47510c88b5 app: drop the old Tauri front end
tauri-app/ was kept while the native app caught up, and the screens it had
are covered now. Its 48 tracked files go; the 7.6 GB of node_modules,
dist and target beside them were never tracked and are gone from the
working copy too.

The docs that said it was still in the tree name two programs now, and
the comments that pointed at a file inside it name the old app's file
instead, so nothing refers to a folder that is no longer there. The design
plans under plans/ keep their wording: they are dated documents, not
instructions.
2026-11-24 00:18:31 +01:00

38 lines
1.2 KiB
Markdown

# Working in this repository
The repository holds two Rust programs: `record-daemon/` (the recorder) and `app/` (the rune
front end).
## Before every commit
In `app/` and in `record-daemon/`, all of these must pass:
```sh
cargo fmt
cargo clippy --all-targets -- -D warnings
cargo test
```
`cargo build` must print no warning for these crates. The vendored crates under `app/vendor/`
and the rune checkout can print their own; they are silenced at their crate root, so do not add
allows in our own code to hide a warning that is ours to fix.
For UI work, check the screen without a window and look at the PNG:
```sh
cd app
cargo run -- --snap /tmp/screen.png --scene history
cargo run -- --snap /tmp/live.png --live --at 40 # real daemon and recordings
```
## Commit messages
History uses `<area>: <imperative summary>`, for example `app: open the review screen from a
card` or `record-daemon: stop writing a log per game`. Lowercase after the colon, no trailing
period, subject at most 72 characters. The body says why, wrapped at 80 columns.
## Rune gaps
`docs/rune-upstream.md` lists the faults we work around in rune, with the file to change and how
to check a fix.