diff options
| author | XhmikosR <[email protected]> | 2015-11-16 18:05:29 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2015-12-03 08:41:44 +0200 |
| commit | 713e53f1058a201f48bbd3168cf066f25ad95008 (patch) | |
| tree | 2eff86c594c999486d95b6a67f089e64a8bd84a3 | |
| parent | 78eafb8d068f5d4ec0f8560ee017a2c9c9e503a0 (diff) | |
| download | bootstrap-713e53f1058a201f48bbd3168cf066f25ad95008.tar.xz bootstrap-713e53f1058a201f48bbd3168cf066f25ad95008.zip | |
Add back grunt-contrib-compress.
Should automate the release process.
[ci skip]
| -rw-r--r-- | Gruntfile.js | 20 |
1 files changed, 20 insertions, 0 deletions
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' + } + ] + } } + }); |
