Skip to content

Commit

Permalink
Grunt: Ignore ajax content test files in htmllint task
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Apr 26, 2012
1 parent 4fd2bef commit f319d07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion grunt.js
Expand Up @@ -149,7 +149,10 @@ grunt.initConfig({
min: minify, min: minify,
cssmin: minifyCSS, cssmin: minifyCSS,
htmllint: { htmllint: {
all: ["demos/**/*.html", "tests/**/*.html"] // ignore files that contain invalid html, used only for ajax content testing
all: grunt.file.expand( [ "demos/**/*.html", "tests/**/*.html" ] ).filter(function( file ) {
return !/(?:ajax\/content\d\.html|tabs\/data\/test\.html)/.test( file );
})
}, },
copy: { copy: {
dist: { dist: {
Expand Down

0 comments on commit f319d07

Please sign in to comment.