mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-12 11:37:07 +00:00
Fix build path when $CAPP_BUILD not defined.
This commit is contained in:
1 parent
c4fb9ccc17
commit
229e43f20c
1 file changed
+3
-1
@@ -16,7 +16,9 @@ task ("build", function()
|
||||
else
|
||||
args = "-sdk macosx " + args;
|
||||
|
||||
if (OS.system("xcodebuild " + args))
|
||||
var xcodebuild = env.CAPP_BUILD ? "xcodebuild " : "CAPP_BUILD=../../Build xcodebuild ";
|
||||
|
||||
if (OS.system(xcodebuild + args))
|
||||
OS.exit(1);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user