Fixes for dev HXP

This commit is contained in:
Joshua Granick
2018-08-02 21:25:48 -07:00
parent 4040e35ca8
commit 6d9f3c4bd8
16 changed files with 1380 additions and 1119 deletions

View File

@@ -4,6 +4,20 @@ package;
import haxe.io.Path;
import haxe.Json;
import haxe.Template;
#if (hxp > "1.0.0")
import hxp.AssetHelper;
import hxp.AssetType;
import hxp.CPPHelper;
import hxp.DeploymentHelper;
import hxp.FileHelper;
import hxp.Haxelib;
import hxp.HTML5Helper;
import hxp.LogHelper;
import hxp.PathHelper;
import hxp.PlatformTarget;
import hxp.ProcessHelper;
import hxp.Project;
#else
import hxp.helpers.AssetHelper;
import hxp.helpers.CPPHelper;
import hxp.helpers.DeploymentHelper;
@@ -14,8 +28,9 @@ import hxp.helpers.PathHelper;
import hxp.helpers.ProcessHelper;
import hxp.project.AssetType;
import hxp.project.Haxelib;
import hxp.project.HXProject;
import hxp.project.HXProject in Project;
import hxp.project.PlatformTarget;
#end
import sys.io.File;
import sys.FileSystem;
@@ -26,7 +41,7 @@ class EmscriptenPlatform extends PlatformTarget {
private var outputFile:String;
public function new (command:String, _project:HXProject, targetFlags:Map<String, String>) {
public function new (command:String, _project:Project, targetFlags:Map<String, String>) {
super (command, _project, targetFlags);