Skip to content

Commit b1bcec7

Browse files
committed
.gitignore - Don't ignore code files named with "build"
1 parent 05c4102 commit b1bcec7

File tree

8 files changed

+2246
-1
lines changed

8 files changed

+2246
-1
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ compile_commands.json
1515
**/.cache
1616
**/.clangd
1717

18-
18+
# Ignore build directories
1919
**/build*
20+
# ...But not ignore code file that start with "build"
21+
!**/build*.c
22+
!**/build*.cpp
23+
!**/build*.h
2024

2125
# Meson Wrap cache stuff
2226
/external/sources/packagecache

0 commit comments

Comments
 (0)