Added comprehensive, well-organized rules to prevent tracking of: - Compiled binaries and build artifacts (*.rlib, debug_*, test_*, gen_*) - Scratch and temporary output files (*.ppm, mod, out.pdf, scratch/) - Backup and editor temporary files (*.bak*, *.bak.*, *~, *.swp, *.tmp) - Generated fixture source files (gen_*.rs in tests/, excluding xtask/) Rules are categorized by type for maintainability and specificity to avoid ignoring legitimate source files.
78 lines
1.8 KiB
Text
78 lines
1.8 KiB
Text
/target
|
|
**/target/
|
|
.beads/
|
|
|
|
# Fuzzing corpus is generated during CI, not committed
|
|
fuzz/corpus/
|
|
|
|
# Memory ceiling report is generated during CI
|
|
memory-report.json
|
|
|
|
# Proptest regressions are committed (minimal counterexamples)
|
|
# but the .gitkeep keeps the directory in git
|
|
|
|
# ============================================================================
|
|
# Compiled binaries and build artifacts
|
|
# ============================================================================
|
|
|
|
# Compiled libraries
|
|
*.rlib
|
|
|
|
# Compiled binaries in repo root
|
|
debug_*
|
|
test_*
|
|
gen_fixtures
|
|
gen_ocr_fixtures
|
|
|
|
# Compiled binaries in tests/fixtures/
|
|
tests/fixtures/gen_fixtures
|
|
tests/fixtures/gen_ocr_fixtures
|
|
tests/fixtures/gen_suspects*
|
|
tests/fixtures/gen_unmapped*
|
|
|
|
# Temporary fixture generators in test directories
|
|
tests/*/gen_*.py
|
|
tests/*/gen_*.rs
|
|
tests/*/*/gen_*.py
|
|
tests/*/*/gen_*.rs
|
|
|
|
# ============================================================================
|
|
# Scratch and temporary output files
|
|
# ============================================================================
|
|
|
|
# Scratch output files in repo root
|
|
0
|
|
--1.ppm
|
|
mod
|
|
out.pdf
|
|
|
|
# Common scratch output patterns
|
|
*.ppm
|
|
scratch/*.txt
|
|
scratch/*.pdf
|
|
scratch/*.bin
|
|
|
|
# ============================================================================
|
|
# Backup and editor temporary files
|
|
# ============================================================================
|
|
|
|
# Backup files (any extension)
|
|
*.bak
|
|
*.bak*
|
|
*.bak.*
|
|
*~
|
|
|
|
# Editor temp files
|
|
.*.swp
|
|
*.swp
|
|
*.swo
|
|
*.tmp
|
|
.*.tmp*
|
|
|
|
# ============================================================================
|
|
# Generated source files (temporary generators)
|
|
# ============================================================================
|
|
|
|
# Generated fixture source files (keep generators, ignore generated sources)
|
|
gen_*.rs
|
|
!xtask/src/bin/gen_*.rs # Keep xtask generators
|