Enforce Unix line endings.
authorXhmikosR <xhmikosr@users.sourceforge.net>
Sun, 9 Mar 2014 07:49:20 +0000 (09:49 +0200)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Tue, 11 Mar 2014 05:25:02 +0000 (07:25 +0200)
.gitattributes [new file with mode: 0644]
Gruntfile.js

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..9619ad4
--- /dev/null
@@ -0,0 +1,7 @@
+# Enforce Unix newlines
+*.css   text eol=lf
+*.html  text eol=lf
+*.js    text eol=lf
+*.json  text eol=lf
+*.md    text eol=lf
+*.yml   text eol=lf
index 6e951b3..07675a4 100644 (file)
@@ -1,6 +1,9 @@
 module.exports = function(grunt) {
   'use strict';
 
+  // Force use of Unix newlines
+  grunt.util.linefeed = '\n';
+
   grunt.initConfig({
 
     pkg: grunt.file.readJSON('package.json'),