diff options
author | Chris Rebert <github@chrisrebert.com> | 2016-07-15 02:22:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-15 02:22:56 +0300 |
commit | 0cf5204a48157b41420e60d8a71ac0ddbb968ab5 (patch) | |
tree | 1f837bb61c712954ade9d1bdd212e068b1c9fe65 /Gruntfile.js | |
parent | 610a08905424d8bdf919dfbba1fcb837ad88c995 (diff) |
Add HTMLHint to the build; fixes #20297 (#20301)
[skip sauce]
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 74e9697a42..0deece20ce 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -278,6 +278,9 @@ module.exports = function (grunt) { 'postcss-docs': { command: 'npm run postcss-docs' }, + htmlhint: { + command: 'npm run htmlhint' + }, 'upload-preview': { command: './grunt/upload-preview.sh' } @@ -327,7 +330,7 @@ module.exports = function (grunt) { require('time-grunt')(grunt); // Docs HTML validation task - grunt.registerTask('validate-html', ['jekyll:docs', 'htmllint']); + grunt.registerTask('validate-html', ['jekyll:docs', 'htmllint', 'exec:htmlhint']); var runSubset = function (subset) { return !process.env.TWBS_TEST || process.env.TWBS_TEST === subset; |