]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Grunt: Factor out new docs-github task
authorChris Rebert <github@chrisrebert.com>
Sun, 6 Dec 2015 20:11:10 +0000 (12:11 -0800)
committerChris Rebert <github@chrisrebert.com>
Sun, 6 Dec 2015 20:11:10 +0000 (12:11 -0800)
Ports #18445 to v4.

[skip sauce]
[skip validator]

Gruntfile.js

index 0d0220faeb230c6e3170ad4cda6ea8ccff1117e9..0c5091f3a1d0a2eb70389fc13f1edf469d261aae 100644 (file)
@@ -524,8 +524,9 @@ module.exports = function (grunt) {
   grunt.registerTask('docs-js', ['uglify:docsJs']);
   grunt.registerTask('lint-docs-js', ['jscs:assets']);
   grunt.registerTask('docs', ['docs-css', 'docs-js', 'lint-docs-js', 'clean:docs', 'copy:docs']);
+  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']);
 
   // Publish to GitHub
   grunt.registerTask('publish', ['buildcontrol:pages']);