aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-07-14 16:22:56 -0700
committerGitHub <[email protected]>2016-07-14 16:22:56 -0700
commit0cf5204a48157b41420e60d8a71ac0ddbb968ab5 (patch)
tree1f837bb61c712954ade9d1bdd212e068b1c9fe65 /Gruntfile.js
parent610a08905424d8bdf919dfbba1fcb837ad88c995 (diff)
downloadbootstrap-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.js5
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;