Merge pull request #2959 from BretJohnson/win-line-endings

Force LF line endings for Bash scripts, so they work on Windows
This commit is contained in:
Martin Konicek 2015-10-14 14:43:21 +01:00
commit 31a02fb758
1 changed files with 6 additions and 0 deletions

6
.gitattributes vendored Normal file
View File

@ -0,0 +1,6 @@
# Force LF line endings for Bash scripts. On Windows the rest of the source
# files will typically have CR+LF endings (Git default on Windows), but Bash
# scripts need to have LF endings to work (under Cygwin), thus override to force
# that.
gradlew text eol=lf
*.sh text eol=lf