chore(repo): suppress generated dist/ artifacts in diffs
Neuron Soul CI / build (pull_request) Successful in 4m18s
Neuron Soul CI / build (pull_request) Successful in 4m18s
dist/*.c and *.elh are elc transpiler output. CI's header-gen step still greps dist/*.c, so they stay tracked, but a single soul change regenerates ~57k lines of dist/neuron.c + dist/soul.c that bury the real source diff and poison both human and agent PR review. Mark them -diff + linguist-generated so PRs show only the real changes. Build pipeline unchanged.
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