aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-01-20 18:02:15 -0800
committerChris Rebert <[email protected]>2014-01-20 18:06:16 -0800
commit3de48d29f5b9b0f83e4fe0b4bfb51e141407a9a2 (patch)
tree435094452bc19ff8461d3cae9133f592562c5e3c /Gruntfile.js
parent8a1f4426a26d7a26b78fb72a84fba6db4ea51832 (diff)
downloadbootstrap-3de48d29f5b9b0f83e4fe0b4bfb51e141407a9a2.tar.xz
bootstrap-3de48d29f5b9b0f83e4fe0b4bfb51e141407a9a2.zip
fix #12280 by templating the customizer's nav sidebar too
The customizer is such a PITA.
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index f59984837..eaa985809 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -292,7 +292,8 @@ module.exports = function (grunt) {
}
},
files: {
- 'docs/_includes/customizer-variables.html': 'docs/customizer-variables.jade'
+ 'docs/_includes/customizer-variables.html': 'docs/customizer-variables.jade',
+ 'docs/_includes/nav-customize.html': 'docs/customizer-nav.jade'
}
}
},
@@ -363,7 +364,7 @@ module.exports = function (grunt) {
var testSubtasks = [];
// Skip core tests if running a different subset of the test suite
if (!process.env.TWBS_TEST || process.env.TWBS_TEST === 'core') {
- testSubtasks = testSubtasks.concat(['dist-css', 'csslint', 'jshint', 'jscs', 'qunit', 'build-customizer-vars-form']);
+ testSubtasks = testSubtasks.concat(['dist-css', 'csslint', 'jshint', 'jscs', 'qunit', 'build-customizer-html']);
}
// Skip HTML validation if running a different subset of the test suite
if (!process.env.TWBS_TEST || process.env.TWBS_TEST === 'validate-html') {
@@ -407,8 +408,8 @@ module.exports = function (grunt) {
grunt.registerTask('build-glyphicons-data', generateGlyphiconsData);
// task for building customizer
- grunt.registerTask('build-customizer', ['build-customizer-vars-form', 'build-raw-files']);
- grunt.registerTask('build-customizer-vars-form', 'jade');
+ grunt.registerTask('build-customizer', ['build-customizer-html', 'build-raw-files']);
+ grunt.registerTask('build-customizer-html', 'jade');
grunt.registerTask('build-raw-files', 'Add scripts/less files to customizer.', function () {
var banner = grunt.template.process('<%= banner %>');
generateRawFilesJs(banner);