cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [07/11] ios commit: [CB-2990] Add a ./cordova/lib/install-device project-level helper script to iOS
Date Thu, 25 Apr 2013 13:43:00 GMT
[CB-2990] Add a ./cordova/lib/install-device project-level helper script to iOS


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

Branch: refs/heads/master
Commit: 6428b2a9129fbf50ecf74ef6d21b4069ec5a2f9a
Parents: eacd50f
Author: Shazron Abdullah <shazron@apache.org>
Authored: Thu Apr 25 05:26:57 2013 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Thu Apr 25 06:36:55 2013 -0700

----------------------------------------------------------------------
 bin/templates/project/cordova/lib/install-device |   30 +++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/6428b2a9/bin/templates/project/cordova/lib/install-device
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/lib/install-device b/bin/templates/project/cordova/lib/install-device
new file mode 100755
index 0000000..ad6993d
--- /dev/null
+++ b/bin/templates/project/cordova/lib/install-device
@@ -0,0 +1,30 @@
+#!/usr/bin/env bash 
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+# http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# Valid values for "--target" (case insensitive):
+#     "iPhone (Retina 3.5-inch)" (default)
+#     "iPhone (Retina 4-inch)"
+#     "iPhone"
+#     "iPad"
+#     "iPad (Retina)"
+
+set -e
+
+echo 'iOS: Not able to install to device through command-line at this time.'
+exit 1
\ No newline at end of file


Mime
View raw message