diff --git a/.gitattributes b/.gitattributes index 0b45a66..ca8cee1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,7 +1,9 @@ -# 全部使用 LF 换行,仓库内外一致,不随系统自动转换 -* text eol=lf +# 引擎 DLL 是二进制文件,禁止行尾转换 +engines/release/*.dll binary -# 二进制文件不转换 -*.png binary -*.jpg binary -*.ico binary +# Python 源码使用 LF +*.py text eol=lf + +# Makefile 使用 LF +Makefile text eol=lf +*.mk text eol=lf