mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-08 03:37:14 +00:00
Fixed: systems without xcodebuild would fail jake clean and jake clobber.
This commit is contained in:
@@ -27,13 +27,13 @@ task ("build", function()
|
||||
|
||||
task ("clean", function()
|
||||
{
|
||||
if (OS.system("xcodebuild clean"))
|
||||
if (executableExists("xcodebuild") && OS.system("xcodebuild clean"))
|
||||
OS.exit(1);
|
||||
});
|
||||
|
||||
task ("clobber", function()
|
||||
{
|
||||
if (OS.system("xcodebuild clean"))
|
||||
if (executableExists("xcodebuild") && OS.system("xcodebuild clean"))
|
||||
OS.exit(1);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user