From 713e53f1058a201f48bbd3168cf066f25ad95008 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 16 Nov 2015 18:05:29 +0200 Subject: [PATCH] Add back grunt-contrib-compress. Should automate the release process. [ci skip] --- Gruntfile.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index e0128d3e2..2d70e7c5a 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' + } + ] + } } + });