incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject ios commit: [CB-1091] Added check for if xcode is running, and throw error if it is.
Date Wed, 25 Jul 2012 18:52:20 GMT
Updated Branches:
  refs/heads/1091 b464e4c5c -> 8ba8bc1ac


[CB-1091] Added check for if xcode is running, and throw error if it is.


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

Branch: refs/heads/1091
Commit: 8ba8bc1acb8f2854f7cb88dd11b832e9cdab310f
Parents: b464e4c
Author: Fil Maj <maj.fil@gmail.com>
Authored: Wed Jul 25 11:55:32 2012 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Wed Jul 25 11:55:32 2012 -0700

----------------------------------------------------------------------
 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/8ba8bc1a/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index e0dbe7e..1ae43f9 100644
--- a/Makefile
+++ b/Makefile
@@ -91,6 +91,9 @@ check-utils:
 		fi
 		@echo -e "Xcode.app: \t\t\033[33m$(XC_APP)\033[m";
 		@echo -e "Using Developer folder: \033[33m$(DEVELOPER)\033[m";
+		@if [ -n "$(shell ps aux | grep -i "Xcode.app/Contents/MacOS/Xcode" | grep -v grep)" ];
then \
+			  echo -e "\033[31mError: Xcode is running! Please close Xcode and try again.\033[m" ;
exit 1; \
+		fi
 
 install: check-utils clean update-template
 		@defaults write org.apache.cordovalib InstallLocation "$(CORDOVA_LIB)"


Mime
View raw message