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/06/18 02:01:42 UTC

ios commit: [CB-3619] ./cordova/run script does not always call ./cordova/build first

Updated Branches:
  refs/heads/master afe73a0ab -> c9958fae3


[CB-3619] ./cordova/run script does not always call ./cordova/build first


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

Branch: refs/heads/master
Commit: c9958fae37ae05b8549673808ae903a9c6eaf9c4
Parents: afe73a0
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Jun 17 17:01:32 2013 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Jun 17 17:01:32 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/c9958fae/bin/templates/project/cordova/run
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/run b/bin/templates/project/cordova/run
index a616352..1c930c9 100755
--- a/bin/templates/project/cordova/run
+++ b/bin/templates/project/cordova/run
@@ -103,10 +103,7 @@ PROJECT_NAME=$(basename "$XCODEPROJ" .xcodeproj)
 
 APP_PATH="$PROJECT_PATH/build/$PROJECT_NAME.app"
 
-if [ ! -d "$APP_PATH" ]; then
-	echo "Project '$APP_PATH' is not built. Building."
-    $CORDOVA_PATH/build || exit $?
-fi
+$CORDOVA_PATH/build || exit $?
 
 if [ ! -d "$APP_PATH" ]; then
 	echo "$APP_PATH not found to emulate."