Rework .gitignore (#147)

This commit reworks .gitignore to be more portable depending on the
options used in the PostgreSQL build this module links to, in various
aspects:
- Ignore code generated for LLVM bitcode.
- Dependencies.
- Libraries.
- Coverage files.
- WIN32 and MacOS files.
- Ignore isolation test subdirectory.
- Do *not* ignore regression.diffs and regression.out.  This is more
useful to detect if something is broken in the tree, in line with
upstream core practices.

The contents of this file are updated to something closer to what
upstream uses.
This commit is contained in:
Michael Paquier 2025-09-04 15:57:51 +09:00 committed by GitHub
parent e92cbe543d
commit e1c26275ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
.gitignore vendored
View file

@ -1,8 +1,30 @@
# Global excludes across all subdirectories # Object files
*.bc
*.o *.o
# Coverage files
*.gcno
*.gcda
# Libraries
*.lib
*.a
# LLVM bitcode
*.bc
# Shared objects (inc. Windows DLLs)
*.dll
*.so *.so
regression.* *.so.*
*.dylib
# Executables
*.exe
*.app
# Dependencies
.deps
# Generated subdirectories # Generated subdirectories
/results/ /results/
/output_iso/