add -json flag to allow json types export
This commit is contained in:
committed by
Josh Tynjala
parent
ff3ccf159d
commit
03ea041e0e
@@ -353,6 +353,11 @@ class HTML5Platform extends PlatformTarget
|
||||
project.haxeflags.push("-xml " + targetDirectory + "/types.xml");
|
||||
}
|
||||
|
||||
if (project.targetFlags.exists("json"))
|
||||
{
|
||||
project.haxeflags.push("--json " + targetDirectory + "/types.json");
|
||||
}
|
||||
|
||||
if (Log.verbose)
|
||||
{
|
||||
project.haxedefs.set("verbose", 1);
|
||||
|
||||
Reference in New Issue
Block a user