add .gitignore

This commit is contained in:
Jesús Pérez 2024-08-14 19:10:32 +01:00
parent af0d34f2fa
commit 43815f35cc
No known key found for this signature in database
2 changed files with 27 additions and 0 deletions

8
.gitattributes vendored Normal file
View File

@ -0,0 +1,8 @@
[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
* text=auto eol=lf
*.rs rust
*.woff binary
*.ttf binary
*.otf binary
*.png binary

19
.gitignore vendored Normal file
View File

@ -0,0 +1,19 @@
Cargo.lock
target
# MacOS temp file
.DS_Store
book-test
guide/book
.vscode
tests/dummy_book/book/
test_book/book/
# Ignore Jetbrains specific files.
.idea/
# Ignore Vim temporary and swap files.
*.sw?
*~