diff options
author | Chris Rebert <github@chrisrebert.com> | 2015-12-06 23:11:10 +0300 |
---|---|---|
committer | Chris Rebert <github@chrisrebert.com> | 2015-12-06 23:11:10 +0300 |
commit | 451265bb7618714627153263650e566d8369c74c (patch) | |
tree | c6fa56e3b2c9d6113717655741693217ff0cf3d8 /Gruntfile.js | |
parent | 193b8306f0cdc97489ba425dcf1b9474025c608d (diff) |
Grunt: Factor out new docs-github task
Ports #18445 to v4.
[skip sauce]
[skip validator]
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 0d0220faeb..0c5091f3a1 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']); |