You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2013/07/16 02:34:28 UTC

ios commit: [CB-4199] iOS Platform Script `run --device` uses Simulator

Updated Branches:
  refs/heads/master 29023ad44 -> 48b59457a


[CB-4199] iOS Platform Script `run --device` uses Simulator


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

Branch: refs/heads/master
Commit: 48b59457a467e13fcde315a1a32688893086326e
Parents: 29023ad
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Jul 15 17:34:20 2013 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Jul 15 17:34:20 2013 -0700

----------------------------------------------------------------------
 bin/templates/project/cordova/run | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/48b59457/bin/templates/project/cordova/run
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/run b/bin/templates/project/cordova/run
index 68c9189..7baa710 100755
--- a/bin/templates/project/cordova/run
+++ b/bin/templates/project/cordova/run
@@ -54,6 +54,10 @@ _parseArgs()
       "--target")
         TARGET=${OPTION_RESULT[1]}
         ;;
+    "--device")
+      echo "Targeting a device is not supported currently."
+      exit 1
+      ;;
     esac
   done
 }