infra: updated git setting.

@Issue: https://github.com/thorvg/thorvg/issues/1519
This commit is contained in:
Hermet Park 2023-07-07 11:24:35 +09:00 committed by Hermet Park
parent 3db78984da
commit 81afba5035
2 changed files with 13 additions and 4 deletions

8
.gitattributes vendored Normal file
View file

@ -0,0 +1,8 @@
# Normalize EOL for all files that Git considers text files
* text=auto eol=lf
# Except for bat files, which are Windows only files
*.bat eol=crlf
# And some test files where the EOL matters
*.json -text

9
.gitignore vendored
View file

@ -1,8 +1,9 @@
build
builddir
.vscode
*.swp
doc
capi_test.tvg
test.tvg
.vscode
.idea
*.swp
*.tvg
*.tmp
*.code-workspace