cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [01/11] ios commit: [CB-2931] If bad flag passed in to build script, treat as --debug
Date Thu, 25 Apr 2013 13:42:54 GMT
Updated Branches:
  refs/heads/master aaf5ccb3f -> 1abe4e35f


[CB-2931] If bad flag passed in to build script, treat as --debug


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

Branch: refs/heads/master
Commit: 7f4f694b8927b11c7ef116faf6750d3e0259c393
Parents: dd3cd02
Author: Shazron Abdullah <shazron@apache.org>
Authored: Tue Apr 23 17:52:24 2013 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Thu Apr 25 06:32:26 2013 -0700

----------------------------------------------------------------------
 bin/templates/project/cordova/build |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/7f4f694b/bin/templates/project/cordova/build
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/build b/bin/templates/project/cordova/build
index fae1a0b..78fe2c1 100755
--- a/bin/templates/project/cordova/build
+++ b/bin/templates/project/cordova/build
@@ -49,11 +49,6 @@ CONFIGURATION=Debug
 
 if [ "$FLAG" == "--release" ]; then
 	CONFIGURATION=Release
-elif [ "$FLAG" == "--debug" ]; then
-	CONFIGURATION=Debug
-else
-	echo "Unknown flag: $FLAG"
-	exit 1
 fi
 
 if [ "$OTHER_FLAGS" != "" ]; then


Mime
View raw message