]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Grunt: Factor out new docs-github task 18445/head
authorChris Rebert <code@chrisrebert.com>
Sun, 6 Dec 2015 09:30:11 +0000 (01:30 -0800)
committerChris Rebert <code@chrisrebert.com>
Sun, 6 Dec 2015 09:35:14 +0000 (01:35 -0800)
[skip sauce]
[skip validator]

Gruntfile.js

index 4b3e12283ecc97dfca1cf60698306088f74be081..c01f8a8ea92aa08a2fc06828c47dbc3fd1d7698d 100644 (file)
@@ -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.