From 24ff8a730fe7b000736ce8921e666de8be81e8b8 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 11 Apr 2015 09:18:46 -0700 Subject: [PATCH] Don't compress identical zip file twice. --- Gruntfile.coffee | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 74fdb6157..188cf337b 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -129,6 +129,9 @@ module.exports = (grunt) -> dest: 'testbuilds/crx<%= pkg.meta.suffix[pkg.channel] %>/' expand: true flatten: true + zip: + src: 'testbuilds/<%= pkg.name %><%= pkg.meta.suffix.noupdate %>.crx.zip' + dest: 'testbuilds/<%= pkg.name %>.zip' builds: cwd: 'testbuilds/' src: '*' @@ -249,17 +252,6 @@ module.exports = (grunt) -> dest: '/' date: '<%= pkg.meta.date %>' mode: parseInt('644', 8) - zip: - options: - archive: 'testbuilds/<%= pkg.name %>.zip' - level: 9 - pretty: true - expand: true - flatten: true - src: 'testbuilds/crx<%= pkg.meta.suffix.noupdate %>/*' - dest: '/' - date: '<%= pkg.meta.date %>' - mode: parseInt('644', 8) clean: builds: 'builds' @@ -358,7 +350,7 @@ module.exports = (grunt) -> 'build-crx-channel' 'set-channel:noupdate' 'build-crx-channel' - 'compress:zip' + 'copy:zip' 'clean:tmpcrx' ]