Add initial support for '--output-file' option on 'display' command

This commit is contained in:
Joshua Granick
2019-03-18 12:01:28 -07:00
parent 6c01e873af
commit b795534773
10 changed files with 101 additions and 10 deletions

View File

@@ -72,7 +72,14 @@ class TVOSPlatform extends PlatformTarget
public override function display():Void
{
Sys.println(getDisplayHXML());
if (project.targetFlags.exists("output-file"))
{
Sys.println(Path.combine(targetDirectory, project.app.file + ".xcodeproj"));
}
else
{
Sys.println(getDisplayHXML());
}
}
private function generateContext():Dynamic