Fixes for dev HXP
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user