Merge PR #16: chore(repo): suppress generated dist/ artifacts in PR diffs
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# ── Generated build artifacts ────────────────────────────────────────────────
|
||||
# dist/ holds elc transpiler output (*.c, *.elh) plus the generated decls header.
|
||||
# CI consumes these (the "Generate ELP master declarations header" step greps
|
||||
# dist/*.c), so they stay TRACKED. But they are machine-generated and must never
|
||||
# bloat a review. A single soul change regenerates dist/neuron.c + dist/soul.c =
|
||||
# ~57,000 lines of churn that buries the real ~few-hundred-line source diff and
|
||||
# poisons both human review and the agent review pipeline.
|
||||
#
|
||||
# -diff → git emits "Binary files differ" instead of the text diff
|
||||
# linguist-generated → Gitea collapses the file in the PR view + drops it from
|
||||
# language stats
|
||||
#
|
||||
# Net effect: PRs show only the real .el/source changes; the build is untouched.
|
||||
dist/** -diff linguist-generated
|
||||
neuron-built -diff linguist-generated
|
||||
dist/neuron -diff linguist-generated
|
||||
Reference in New Issue
Block a user