From dfe0219376d83c8174d4234e9fad0dd089d5c148 Mon Sep 17 00:00:00 2001 From: R1oby Date: Wed, 5 Aug 2026 08:37:03 +0700 Subject: [PATCH] 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/) --- Global/Lazarus.gitignore | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/Global/Lazarus.gitignore b/Global/Lazarus.gitignore index b32943f1c6..d6222d8c10 100644 --- a/Global/Lazarus.gitignore +++ b/Global/Lazarus.gitignore @@ -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 -*.lrt - -# Lazarus local files (user-specific info) -*.lps -# Lazarus backups and unit output folders. -# These can be changed by user in Lazarus/project options. +# --- Project Backup & Units Directories --- backup/ -*.bak lib/ +units/ +*.bak +*.~* +*.$* + +# --- IDE & User-Specific Local Files --- +*.lps +*.lfm.bak +*.lpi.bak +lazarus.cfg + +# --- Internationalization & Documentation Artifacts --- +*.rst +*.lrt -# Application bundle for Mac OS +# --- macOS Application Bundles --- *.app/