You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by al...@apache.org on 2016/08/16 14:23:27 UTC
cordova-paramedic git commit: (iOS) Properly package the app for
Sauce Labs
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 <al...@akvelon.com>
Authored: Tue Aug 16 17:23:12 2016 +0300
Committer: Alexander Sorokin <al...@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