mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-15 13:04:29 +00:00
New: added xcc executable to open a project in XcodeCapp from command line.
Usage: xcc [directory] Updated help accordingly.
This commit is contained in:
1 parent
86d7ec4180
commit
75b3bf22e6
9 files changed
+293
-14
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user