grunt-modernizr
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -217,3 +217,3 @@ /* jshint node:true, newcap:false */ | ||
} else { | ||
config.files.push("!" + config.devFile); | ||
config.files.src.push("!" + config.devFile); | ||
} | ||
@@ -223,5 +223,5 @@ } | ||
// Also exclude generated file | ||
config.files.push("!" + config.outputFile); | ||
config.files.src.push("!" + config.outputFile); | ||
files = grunt.file.expand({}, config.files).filter(function (file) { | ||
files = grunt.file.expand({}, config.files.src).filter(function (file) { | ||
return fs.statSync(file).isFile(); | ||
@@ -228,0 +228,0 @@ }); |
{ | ||
"name": "grunt-modernizr", | ||
"description": "Build out a lean, mean Modernizr machine.", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"homepage": "https://github.com/doctyper/grunt-modernizr", | ||
@@ -38,3 +38,3 @@ "author": { | ||
"devDependencies": { | ||
"grunt": "~0.4.1", | ||
"grunt": "~0.4.2", | ||
"grunt-contrib-jshint": "~0.7.0", | ||
@@ -41,0 +41,0 @@ "grunt-contrib-nodeunit": "0.1.2", |
@@ -82,3 +82,5 @@ # grunt-modernizr | ||
// You can override this by defining a "files" array below. | ||
// "files" : [], | ||
// "files" : { | ||
"src": [] | ||
}, | ||
@@ -85,0 +87,0 @@ // When parseFiles = true, matchCommunityTests = true will attempt to |
@@ -55,8 +55,10 @@ /* | ||
// By default, this task will crawl all *.js, *.css files. | ||
"files" : [ | ||
"*[^(g|G)runt(file)?].{js,css,scss}", | ||
"**[^node_modules]/**/*.{js,css,scss}", | ||
"!lib/cache/**/*", | ||
"!lib/gruntifier.js" | ||
], | ||
"files" : { | ||
"src": [ | ||
"*[^(g|G)runt(file)?].{js,css,scss}", | ||
"**[^node_modules]/**/*.{js,css,scss}", | ||
"!lib/cache/**/*", | ||
"!lib/gruntifier.js" | ||
] | ||
}, | ||
@@ -63,0 +65,0 @@ // Set to true to attempt to match user-contributed tests |
Sorry, the diff of this file is not supported yet
229471
3940
137