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 2014/01/21 20:22:00 UTC

git commit: add device flag in the right spot..

Updated Branches:
  refs/heads/master 837efc27d -> 682e33a7f


add device flag in the right spot..


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

Branch: refs/heads/master
Commit: 682e33a7f0b05fabea586b6ad514f4ed2d06fcaf
Parents: 837efc2
Author: David Kemp <dr...@chromium.org>
Authored: Tue Jan 21 14:21:19 2014 -0500
Committer: David Kemp <dr...@chromium.org>
Committed: Tue Jan 21 14:21:19 2014 -0500

----------------------------------------------------------------------
 src/build/makers/ios.js        | 2 +-
 src/build/makers/ios/deploy.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/682e33a7/src/build/makers/ios.js
----------------------------------------------------------------------
diff --git a/src/build/makers/ios.js b/src/build/makers/ios.js
index f813a6f..ea29f05 100644
--- a/src/build/makers/ios.js
+++ b/src/build/makers/ios.js
@@ -54,7 +54,7 @@ module.exports = function(output,lib_location,test_dir, sha, devices, entry_poin
           // compile
           log('Compiling.');
 
-          var debug = 'cd ' + output + ' && ./cordova/build --release';
+          var debug = 'cd ' + output + ' && ./cordova/build --release --device';
           var compile = shell.exec(debug, {silent:true});
           if (compile.code > 0) {
                             error_writer('ios', sha, 'Compilation error.', compile.output);

http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/682e33a7/src/build/makers/ios/deploy.js
----------------------------------------------------------------------
diff --git a/src/build/makers/ios/deploy.js b/src/build/makers/ios/deploy.js
index 5bed9a9..09ed945 100644
--- a/src/build/makers/ios/deploy.js
+++ b/src/build/makers/ios/deploy.js
@@ -59,7 +59,7 @@ function run_through(sha, devices, bundlePath, bundleId, callback) {
         logged_url=false;
 
             log('Install + deploy on ' + d);
-            var args = ['--id=' + d, '--bundle=' + bundlePath, '--debug --device'];
+            var args = ['--id=' + d, '--bundle=' + bundlePath, '--debug'];
             var buf = '';
             var fruit = cp.spawn(fruitstrap, args);
             // set up a timeout in case mobile-spec doesnt deploy or run