aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-12-06 01:30:11 -0800
committerChris Rebert <[email protected]>2015-12-06 01:35:14 -0800
commit3786a71d04209edeb687c331bb02f108bff4a9a1 (patch)
tree6b4b3e069475cb13f006b482078a35d5fa6e8d5e
parent0ea85728d175c29525b15c5ab45355d115d62bc6 (diff)
downloadbootstrap-3786a71d04209edeb687c331bb02f108bff4a9a1.tar.xz
bootstrap-3786a71d04209edeb687c331bb02f108bff4a9a1.zip
Grunt: Factor out new docs-github task
[skip sauce] [skip validator]
-rw-r--r--Gruntfile.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 4b3e12283..c01f8a8ea 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -512,8 +512,9 @@ module.exports = function (grunt) {
grunt.registerTask('docs-js', ['uglify:docsJs', 'uglify:customize']);
grunt.registerTask('lint-docs-js', ['jshint:assets', 'jscs:assets']);
grunt.registerTask('docs', ['docs-css', 'lint-docs-css', 'docs-js', 'lint-docs-js', 'clean:docs', 'copy:docs', 'build-glyphicons-data', 'build-customizer']);
+ grunt.registerTask('docs-github', ['jekyll:github', 'htmlmin']);
- grunt.registerTask('prep-release', ['dist', 'docs', 'jekyll:github', 'htmlmin', 'compress']);
+ grunt.registerTask('prep-release', ['dist', 'docs', 'docs-github', 'compress']);
// Task for updating the cached npm packages used by the Travis build (which are controlled by test-infra/npm-shrinkwrap.json).
// This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.