New: added xcc executable to open a project in XcodeCapp from command line.

Usage: xcc [directory]

Updated help accordingly.
This commit is contained in:
Aparajita Fishman committed 2013-05-09 16:48:37 -04:00
1 parent 86d7ec4180
commit 75b3bf22e6
9 files changed
+293 -14

No files matched your search

+11
View File
@@ -41,6 +41,17 @@ task ("build", function()
if (OS.system("xcodebuild " + args))
OS.exit(1);
if (!executableExists("xcc"))
{
print("\nWould you like to install the xcc command line tool in /usr/local/bin? yes or no:");
if (system.stdin.readLine() == "yes\n")
{
sudo(["mkdir", "-p", "/usr/local/bin"]);
sudo(["ln", "-s", "/Applications/XcodeCapp.app/Contents/MacOS/xcc", "/usr/local/bin/"]);
}
}
}
else
{