Repository: cordova-paramedic
Updated Branches:
  refs/heads/master 8b9bd605e -> 57967f5a7


make paramedic working for android with --justbuild


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

Branch: refs/heads/master
Commit: 57967f5a7c22944d603825680ae3e1edefad3445
Parents: 8b9bd60
Author: sgrebnov <sergei.greb...@gmail.com>
Authored: Tue May 31 13:51:31 2016 +0300
Committer: sgrebnov <sergei.greb...@gmail.com>
Committed: Tue May 31 13:51:31 2016 +0300

----------------------------------------------------------------------
 lib/paramedic.js | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/57967f5a/lib/paramedic.js
----------------------------------------------------------------------
diff --git a/lib/paramedic.js b/lib/paramedic.js
index 8234f59..53cc6b2 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -73,9 +73,12 @@ ParamedicRunner.prototype.run = function() {
         return self.runTests();
     })
     .fin(function() {
-        self.collectDeviceLogs();
-        self.uninstallApp();
-        self.killEmulatorProcess();
+        // if we do --justbuild we should NOT do actions below
+        if (self.config.getAction() !== 'build') {
+            self.collectDeviceLogs();
+            self.uninstallApp();
+            self.killEmulatorProcess();
+        }
         self.cleanUpProject();
     });
 };


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

Reply via email to