Fixed: systems without xcodebuild would fail jake clean and jake clobber.

This commit is contained in:
Alexander Ljungberg
2011-04-04 23:56:30 -04:00
parent f0bba44e45
commit 0d8bd95c86
+2 -2
View File
@@ -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);
});