Force LF line endings for the dist files.#11674
Conversation
This should make things more consistent on all platforms.
|
Apparently the banner already has CRLF and we still end up with mixed line endings. |
|
I'm out of ideas unfortunately. Unless we have the tools output consistent line endings we'll always have this issue with git's |
|
I think Grunt has some config options for this; I'll look into it. |
|
@XhmikosR Hum, how? Look at banner code, it's just with |
|
@zdroid: you can try yourself. The banner will have CRLF while the rest of the lines will have LF. |
|
I know, but that's it. 2013/12/3 XhmikosR notifications@github.com
Zlatan Vasović - ZDroid |
That is, because grunt pay attention to the platform specific line feed char. You will get this result only on windows platforms. I do not know why they do this, that have not benefit. But they do it. If you precess a file with the templating engine, they will add this linefeed. But you can set it to a fix value. |
This should make things more consistent on all platforms.
/CC @cvrebert