From: XhmikosR Date: Thu, 23 Apr 2015 10:17:45 +0000 (+0300) Subject: Grunt: extend `prep-release` task. X-Git-Tag: v3.3.5~103^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3386079f34334c20bb09eaf17cd8a66d17cfbf7;p=thirdparty%2Fbootstrap.git Grunt: extend `prep-release` task. Make it so that everything is done for us to reduce the possibility of missing something when releasing. --- diff --git a/Gruntfile.js b/Gruntfile.js index 28cd22481e..1bffd7c347 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -515,7 +515,7 @@ module.exports = function (grunt) { 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('prep-release', ['jekyll:github', 'htmlmin', 'compress']); + grunt.registerTask('prep-release', ['dist', 'docs', 'jekyll:github', 'htmlmin', '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.