diff --git a/.gitattributes b/.gitattributes index fc549fa..921952f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,13 @@ -# Auto detect text files and perform LF normalization +# Asriel's upstream default: CRLF for text files (Windows-only dev workflow). +# Kept intact to minimise the diff against upstream Craftimizer. * text eol=crlf -*.png binary \ No newline at end of file + +# Hellion Forge override: shell scripts and git hooks MUST be LF only, +# otherwise bash on Linux refuses to execute them with +# "env: »bash\r«: Datei nicht gefunden". This blocked the v0.1.0 release +# pipeline push on Linux before .gitattributes was extended. +*.sh text eol=lf +.githooks/* text eol=lf +scripts/* text eol=lf + +*.png binary