Add .gitattributes file (#465)

This commit is contained in:
totlmstr 2019-04-22 18:22:56 -07:00 committed by pent0
parent 0ca075bda0
commit 94a92ce5f5

17
.gitattributes vendored Normal file
View file

@ -0,0 +1,17 @@
# Properly detect files as C++ on Github
*.h linguist-language=cpp
*.inc linguist-language=cpp
*.frag linguist-language=GLSL
*.vert linguist-language=GLSL
src/external/* linguist-vendored
# Enforce line endings to LF for cross-compiling
*.cpp eol=lf
*.inc eol=lf
*.frag eol=lf
*.vert eol=lf
*.h eol=lf
*.sh eol=lf
*.bat eol=crlf