diff --git a/Gruntfile.js b/Gruntfile.js index 79f5715d87..5fa37a0c76 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -169,7 +169,7 @@ module.exports = function(grunt) { grunt.registerTask('validate-html', ['jekyll', 'validation']); // Test task. - var testSubtasks = ['dist-css', 'jshint', 'qunit', 'validate-html']; + var testSubtasks = ['dist-css', 'jshint', 'qunit']; // Only run BrowserStack tests under Travis if (process.env.TRAVIS) { // Only run BrowserStack tests if this is a mainline commit in twbs/bootstrap, or you have your own BrowserStack key @@ -202,7 +202,7 @@ module.exports = function(grunt) { var files = {} fs.readdirSync(type) .filter(function (path) { - return new RegExp('\\.' + type + '$').test(path) + return type == 'fonts' ? true : new RegExp('\\.' + type + '$').test(path) }) .forEach(function (path) { return files[path] = fs.readFileSync(type + '/' + path, 'utf8') @@ -211,7 +211,7 @@ module.exports = function(grunt) { } var customize = fs.readFileSync('customize.html', 'utf-8') - var files = '\n - + \ No newline at end of file