react-juce
react-juce copied to clipboard
Add a .gitattributes files to code with text files, their line-endings, and storing binary files.
Something like this:
* text eol=crlf
*.sh text eol=lf
*.7z binary
*.aif binary
*.aiff binary
*.asf binary
*.eot binary
*.fla binary
*.flac binary
*.flv binary
*.gif binary
*.gz binary
*.ico binary
*.jpeg binary
*.jpg binary
*.mid binary
*.mov binary
*.mp2 binary
*.mp3 binary
*.mp4 binary
*.ogg binary
*.otc binary
*.otf binary
*.pdf binary
*.png binary
*.pyc binary
*.swf binary
*.tga binary
*.ttc binary
*.ttf binary
*.wav binary
*.wma binary
*.wm binary
*.wmv binary
*.woff binary
*.zip binary
Great! +1 for this. My only comment is to prefer unix line endings for our source code files
My only comment is to prefer unix line endings for our source code files
I hear you! The issue is really cross platform development when including Windows... IIRC, VS2019 is now kosher with LF, but VS2015 and 2017 aren't. (Although 2015 might not be relevant to this module, what with it being on the old and gray side of toolchains...)
Hm, right... I think it's certainly fair to leave 2015 behind :) If there's a trivial way to support VS2017 here I'm for it, but if not then it seems to me maybe not worth maintaining any complicated dance for it?
To be fair, every IDE/editor on macOS and Linux handle CRLF just fine... It's how JUCE and JUCE users have coped with the framework for as long as it's been around.