mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-01 16:33:35 +00:00
Fix build path when $CAPP_BUILD not defined.
This commit is contained in:
@@ -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