]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add back grunt-contrib-compress.
authorXhmikosR <xhmikosr@gmail.com>
Mon, 16 Nov 2015 16:05:29 +0000 (18:05 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 3 Dec 2015 06:41:44 +0000 (08:41 +0200)
Should automate the release process.

[ci skip]

Gruntfile.js

index e0128d3e294f8a0aabe562f5e7839448271405f5..2d70e7c5a997ce287720189f14cd5e929a0f1d4c 100644 (file)
@@ -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'
+          }
+        ]
+      }
     }
+
   });