Builds and test binaries belong in .cache/bin. The root .gitignore catches stray builds (aego-*, i18n, profiles, data dumps), make affected builds into .cache/bin/affected, make clean empties .cache/bin, and make ci ends with tools/ci-clean-root.sh: it fails when the root holds an untracked executable or a *.test file, and in CI when the run left changes git sees. .claude/CLAUDE.md tells agents to build only into .cache/bin and to run make ci before every push.
5 lines
541 B
Markdown
5 lines
541 B
Markdown
# Agents working on Aego
|
|
|
|
- Binaries go to `.cache/bin` only. Never run `go build` without `-o` in the repository root, and build test binaries only with `go test -c -o .cache/bin/<name>.test`. `make clean` empties `.cache/bin`; `make ci` fails when the root holds a binary or a `*.test` file (`tools/ci-clean-root.sh`).
|
|
- Run the full `make ci` before every push. Between pushes, run the checks that cover the change: the tests of the changed packages, `make lint`, `make depcheck`, the docs check and the golden tests when the UI changed.
|