mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-18 22:41:18 +00:00
Fixed: systems without xcodebuild would fail jake clean and jake clobber.
This commit is contained in:
1 parent
f0bba44e45
commit
0d8bd95c86
1 file changed
+2
-2
@@ -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