From ab53c89741a592bfa08fda956ad74d37a7a74ab7 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 9 Mar 2014 09:49:20 +0200 Subject: [PATCH] Enforce Unix line endings. --- .gitattributes | 7 +++++++ Gruntfile.js | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9619ad4 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/Gruntfile.js b/Gruntfile.js index 6e951b3..07675a4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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'), -- 2.34.1