diff options
| author | Chris Rebert <[email protected]> | 2016-07-14 16:22:56 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-07-14 16:22:56 -0700 |
| commit | 0cf5204a48157b41420e60d8a71ac0ddbb968ab5 (patch) | |
| tree | 1f837bb61c712954ade9d1bdd212e068b1c9fe65 /Gruntfile.js | |
| parent | 610a08905424d8bdf919dfbba1fcb837ad88c995 (diff) | |
| download | bootstrap-0cf5204a48157b41420e60d8a71ac0ddbb968ab5.tar.xz bootstrap-0cf5204a48157b41420e60d8a71ac0ddbb968ab5.zip | |
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 74e9697a4..0deece20c 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; |
