You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dr...@apache.org on 2013/11/07 19:05:06 UTC

git commit: removed fruitstrap list-devices usage

Updated Branches:
  refs/heads/master 90a8caf4f -> 164c60a7c


removed fruitstrap list-devices usage


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

Branch: refs/heads/master
Commit: 164c60a7cddb64e41cd3236eee045aea5e495246
Parents: 90a8caf
Author: David Kemp <dr...@chromium.org>
Authored: Thu Nov 7 13:04:20 2013 -0500
Committer: David Kemp <dr...@chromium.org>
Committed: Thu Nov 7 13:04:20 2013 -0500

----------------------------------------------------------------------
 src/build/makers/ios/deploy.js | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/164c60a7/src/build/makers/ios/deploy.js
----------------------------------------------------------------------
diff --git a/src/build/makers/ios/deploy.js b/src/build/makers/ios/deploy.js
index e5c54ba..09ed945 100644
--- a/src/build/makers/ios/deploy.js
+++ b/src/build/makers/ios/deploy.js
@@ -21,8 +21,6 @@ var path         = require('path'),
 
 var root = path.join(__dirname, '..', '..', '..', '..');
 var fruitstrap = path.join(root, 'node_modules', 'ios-deploy', 'ios-deploy');
-// current fruitstrap dependency has two binaries, uninstall exists under the "listdevices" one
-var listdevices = path.join(root, 'node_modules', 'fruitstrap', 'listdevices');
 var failures=false;
 var logged_url=false;
 
@@ -59,10 +57,6 @@ function run_through(sha, devices, bundlePath, bundleId, callback) {
     var d = devices.shift();
     if (d) {
         logged_url=false;
-        log('Uninstalling app on ' + d);
-        var cmd = listdevices + ' uninstall --id=' + d + ' --bundle-id=org.apache.cordova.example';
-        shell.exec(cmd, {silent:true,async:true}, function(code, output) {
-            if (code > 0) log('Uninstall on ' + d + ' failed, continuing anyways.');
 
             log('Install + deploy on ' + d);
             var args = ['--id=' + d, '--bundle=' + bundlePath, '--debug'];
@@ -92,7 +86,6 @@ function run_through(sha, devices, bundlePath, bundleId, callback) {
                     run_through(sha, devices, bundlePath, bundleId, callback);
                 }
             });
-        });
     } else {
         callback(failures);
     }