bevy/.gitattributes
Andreas Weibye 72c888feea Enforce linux-style line endings for .rs and .toml (#3197)
# Objective

Fixes #3160 

Unless I'm mistaken, the problem was caused by a simple typo

## Solution

- Fix the typo

Reference documentation: https://git-scm.com/docs/gitattributes#_eol

## Question

Are there other file-types that should be included here?
2021-11-26 21:05:35 +00:00

19 lines
604 B
Text

# From: https://docs.github.com/en/github/getting-started-with-github/configuring-git-to-handle-line-endings
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.rs text eol=lf
*.toml text eol=lf
*.frag text eol=lf
*.vert text eol=lf
*.wgsl text eol=lf
# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.ttf binary