Extra gitattributes and gitignore for Linux files

(cherry picked from commit a2fa082196b10196285751da3d89cde039bc2142)
This commit is contained in:
Daniel Walder 2021-03-22 17:25:57 +10:00
parent 245c67b357
commit 4a45a3f931
2 changed files with 7 additions and 0 deletions

5
.gitattributes vendored
View file

@ -5,3 +5,8 @@
*.sln text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf
# Force LF for Linux files:
Makefile text eol=lf
Makefile.* text eol=lf
*.sh text eol=lf

2
linux/.gitignore vendored
View file

@ -2,6 +2,8 @@
*.so
*.so.*
*.dylib
*.o
*_map.txt
# Allow Half-Life-specific files that would otherwise be ignored
!libSDL2.dylib