From: XhmikosR Date: Mon, 16 Nov 2015 16:05:29 +0000 (+0200) Subject: Add back grunt-contrib-compress. X-Git-Tag: v4.0.0-alpha.2~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=713e53f1058a201f48bbd3168cf066f25ad95008;p=thirdparty%2Fbootstrap.git Add back grunt-contrib-compress. Should automate the release process. [ci skip] --- diff --git a/Gruntfile.js b/Gruntfile.js index e0128d3e29..2d70e7c5a9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -431,7 +431,27 @@ module.exports = function (grunt) { branch: 'gh-pages' } } + }, + + compress: { + main: { + options: { + archive: 'bootstrap-<%= pkg.version %>-dist.zip', + mode: 'zip', + level: 9, + pretty: true + }, + files: [ + { + expand: true, + cwd: 'dist/', + src: ['**'], + dest: 'bootstrap-<%= pkg.version %>-dist' + } + ] + } } + });