diff options
| author | Chris Rebert <[email protected]> | 2015-12-06 12:11:10 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-12-06 12:11:10 -0800 |
| commit | 451265bb7618714627153263650e566d8369c74c (patch) | |
| tree | c6fa56e3b2c9d6113717655741693217ff0cf3d8 | |
| parent | 193b8306f0cdc97489ba425dcf1b9474025c608d (diff) | |
| download | bootstrap-451265bb7618714627153263650e566d8369c74c.tar.xz bootstrap-451265bb7618714627153263650e566d8369c74c.zip | |
Grunt: Factor out new docs-github task
Ports #18445 to v4.
[skip sauce]
[skip validator]
| -rw-r--r-- | Gruntfile.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 0d0220fae..0c5091f3a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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']); |
