cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drk...@apache.org
Subject [08/31] git commit: fix sha, log android url
Date Tue, 15 Oct 2013 18:39:49 GMT
fix sha, log android url


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

Branch: refs/heads/master
Commit: a64c9b3cad913468e9459f15dcb4d68d891432c1
Parents: d598451
Author: David Kemp <drkemp@google.com>
Authored: Wed Aug 21 17:23:59 2013 -0400
Committer: David Kemp <drkemp@chromium.org>
Committed: Tue Oct 15 14:10:47 2013 -0400

----------------------------------------------------------------------
 src/build/makers/android/deploy.js | 2 ++
 src/build/makers/ios/deploy.js     | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/a64c9b3c/src/build/makers/android/deploy.js
----------------------------------------------------------------------
diff --git a/src/build/makers/android/deploy.js b/src/build/makers/android/deploy.js
index 7b3188b..8b7968d 100644
--- a/src/build/makers/android/deploy.js
+++ b/src/build/makers/android/deploy.js
@@ -97,6 +97,8 @@ module.exports = function deploy(sha, devices, path, id, callback) {
                                             clearTimeout(timer);
                                             logcat.kill();
                                             end(true);
+                                        } else if(buf.indexOf('Test Results URL')>-1)
{
+                                            console.log(buf);
                                         }
                                     });
                                 }

http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/a64c9b3c/src/build/makers/ios/deploy.js
----------------------------------------------------------------------
diff --git a/src/build/makers/ios/deploy.js b/src/build/makers/ios/deploy.js
index deef6fa..9256b94 100644
--- a/src/build/makers/ios/deploy.js
+++ b/src/build/makers/ios/deploy.js
@@ -42,13 +42,15 @@ function kill(process, buf, sha, device_id) {
         process.kill();
         failures=true;
         return true;
+    } else if (buf.indexOf('Test Results URL') >-1) {
+        console.log(buf);
     }
     return false;
 }
 
 function run_through(sha, devices, bundlePath, bundleId, callback) {
     function log(msg) {
-        console.log('[IOS] [DEPLOY] ' + msg + ' (' + sha.substr(0,7) + ')');
+        console.log('[IOS] [DEPLOY] ' + msg + ' (' + sha + ')');
     }
     var d = devices.shift();
     if (d) {


Mime
View raw message