cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alsoro...@apache.org
Subject cordova-paramedic git commit: (iOS) Properly package the app for Sauce Labs
Date Tue, 16 Aug 2016 14:23:27 GMT
Repository: cordova-paramedic
Updated Branches:
  refs/heads/master c6f4d3700 -> acdc3991b


(iOS) Properly package the app for Sauce Labs


Project: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/commit/acdc3991
Tree: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/tree/acdc3991
Diff: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/diff/acdc3991

Branch: refs/heads/master
Commit: acdc3991bd227707eca36f63c61b9292f15ba983
Parents: c6f4d37
Author: Alexander Sorokin <alexander.sorokin@akvelon.com>
Authored: Tue Aug 16 17:23:12 2016 +0300
Committer: Alexander Sorokin <alexander.sorokin@akvelon.com>
Committed: Tue Aug 16 17:23:12 2016 +0300

----------------------------------------------------------------------
 lib/paramedic.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/acdc3991/lib/paramedic.js
----------------------------------------------------------------------
diff --git a/lib/paramedic.js b/lib/paramedic.js
index cd25465..e8ce333 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -462,8 +462,9 @@ ParamedicRunner.prototype.packageApp = function () {
             return Q.promise(function (resolve, reject) {
                 var zipCommand = 'zip -r ' + self.getPackageName() + ' ' + self.getBinaryName();
                 shell.pushd(self.getPackageFolder());
+                shell.rm('-rf', self.getPackageName());
                 console.log('Running command: ' + zipCommand + ' in dir: ' + shell.pwd());
-                shell.exec(zipCommand, { silent: true }, function (code, stdout, stderr)
{
+                shell.exec(zipCommand, { silent: !self.config.isVerbose() }, function (code,
stdout, stderr) {
                     shell.popd();
                     if (code) {
                         reject('zip command returned with error code ' + code);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message