Update Lazarus.gitignore

chore: add modern Lazarus/Free Pascal .gitignore template

- Add compiler and linker binaries (*.exe, *.dll, *.so, *.dylib, *.a, *.lib, *.o, *.or, *.ppu, *.compiled, *.dbg, *.rsj)
- Include project backup and output directories (backup/, lib/, units/, *.bak, *.~*, *.$*)
- Exclude IDE and user-specific local files (*.lps, *.lfm.bak, *.lpi.bak, lazarus.cfg)
- Handle internationalization and documentation artifacts (*.rst, *.lrt)
- Suppress macOS application bundles (*.app/)
This commit is contained in:
R1oby 2026-08-05 08:37:03 +07:00 committed by GitHub
parent 57286c3887
commit dfe0219376
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,30 +1,34 @@
# Lazarus compiler-generated binaries (safe to delete)
# --- Lazarus Compiler & Linker Binaries ---
*.exe
*.dll
*.so
*.dylib
*.lrs
*.res
*.compiled
*.dbg
*.ppu
*.a
*.lib
*.o
*.or
*.a
# Lazarus autogenerated files (duplicated info)
*.rst
*.ppu
*.compiled
*.dbg
*.rsj
# --- Project Backup & Units Directories ---
backup/
lib/
units/
*.bak
*.~*
*.$*
# --- IDE & User-Specific Local Files ---
*.lps
*.lfm.bak
*.lpi.bak
lazarus.cfg
# --- Internationalization & Documentation Artifacts ---
*.rst
*.lrt
# Lazarus local files (user-specific info)
*.lps
# Lazarus backups and unit output folders.
# These can be changed by user in Lazarus/project options.
backup/
*.bak
lib/
# Application bundle for Mac OS
# --- macOS Application Bundles ---
*.app/