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.
541 B
541 B
Agents working on Aego
- Binaries go to
.cache/binonly. Never rungo buildwithout-oin the repository root, and build test binaries only withgo test -c -o .cache/bin/<name>.test.make cleanempties.cache/bin;make cifails when the root holds a binary or a*.testfile (tools/ci-clean-root.sh). - Run the full
make cibefore 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.