diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-20 22:08:08 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-20 22:08:08 +0200 |
| commit | 6ff31279d38bd3b814f19b1fb63933544139f6cf (patch) | |
| tree | e0a64a48df9d484b52829371d648698471895ffe /AGENTS.md | |
| parent | 29969ad294d1654f6eca23a16c83b84bbf7f9bfe (diff) | |
| download | bokf-6ff31279d38bd3b814f19b1fb63933544139f6cf.tar.gz bokf-6ff31279d38bd3b814f19b1fb63933544139f6cf.zip | |
build: make gate with WERROR and a pre-push hook
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -94,6 +94,9 @@ helpers and `struct app` are in `clients/ui.[ch]`; the scene registry - Sanitizers: `make test-asan` (ASan) and `make test-ubsan` (UBSan) build `test_core` in `build-asan`/`build-ubsan`. Run them after touching allocation or arithmetic paths. +- Before you stop: `make gate` — a clean rebuild with `WERROR=1`, the full + suite and `test-asan`. `sh scripts/install-hooks.sh` points + `core.hooksPath` at `.githooks/` so the pre-push hook runs it automatically. - Never run `bokftui` for tests without `scripts/tui-sandbox.sh`: it isolates `XDG_CONFIG_HOME`/`XDG_CACHE_HOME` so a run cannot overwrite the human's `~/.config/bokf/tui.conf`, `~/.cache/bokf/tui.log` or bw session. |
