Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <github@chrisrebert.com>2016-07-15 02:22:56 +0300
committerGitHub <noreply@github.com>2016-07-15 02:22:56 +0300
commit0cf5204a48157b41420e60d8a71ac0ddbb968ab5 (patch)
tree1f837bb61c712954ade9d1bdd212e068b1c9fe65 /Gruntfile.js
parent610a08905424d8bdf919dfbba1fcb837ad88c995 (diff)
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 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;