Fixes for dev HXP
This commit is contained in:
@@ -3,8 +3,25 @@ package;
|
||||
|
||||
import haxe.io.Path;
|
||||
import haxe.Template;
|
||||
#if (hxp > "1.0.0")
|
||||
import hxp.AIRHelper;
|
||||
import hxp.AssetHelper;
|
||||
import hxp.AssetType;
|
||||
import hxp.DeploymentHelper;
|
||||
import hxp.FileHelper;
|
||||
import hxp.FlashHelper;
|
||||
import hxp.Icon;
|
||||
import hxp.IconHelper;
|
||||
import hxp.LogHelper;
|
||||
import hxp.PathHelper;
|
||||
import hxp.Platform;
|
||||
import hxp.PlatformHelper;
|
||||
import hxp.PlatformType;
|
||||
import hxp.Project;
|
||||
import hxp.ZipHelper;
|
||||
#else
|
||||
import hxp.project.AssetType;
|
||||
import hxp.project.HXProject;
|
||||
import hxp.project.HXProject in Project;
|
||||
import hxp.project.Icon;
|
||||
import hxp.project.Platform;
|
||||
import hxp.project.PlatformType;
|
||||
@@ -18,6 +35,7 @@ import hxp.helpers.PathHelper;
|
||||
import hxp.helpers.PlatformHelper;
|
||||
import hxp.helpers.LogHelper;
|
||||
import hxp.helpers.ZipHelper;
|
||||
#end
|
||||
import sys.io.File;
|
||||
import sys.FileSystem;
|
||||
|
||||
@@ -31,7 +49,7 @@ class AIRPlatform extends FlashPlatform {
|
||||
private var targetPlatformType:PlatformType;
|
||||
|
||||
|
||||
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);
|
||||
|
||||
|
||||
@@ -3,6 +3,25 @@ package;
|
||||
|
||||
import haxe.io.Path;
|
||||
import haxe.Template;
|
||||
#if (hxp > "1.0.0")
|
||||
import hxp.AndroidHelper;
|
||||
import hxp.Architecture;
|
||||
import hxp.ArrayHelper;
|
||||
import hxp.AssetHelper;
|
||||
import hxp.AssetType;
|
||||
import hxp.CPPHelper;
|
||||
import hxp.DeploymentHelper;
|
||||
import hxp.FileHelper;
|
||||
import hxp.Haxelib;
|
||||
import hxp.Icon;
|
||||
import hxp.IconHelper;
|
||||
import hxp.LogHelper;
|
||||
import hxp.PathHelper;
|
||||
import hxp.PlatformTarget;
|
||||
import hxp.ProcessHelper;
|
||||
import hxp.Project;
|
||||
import hxp.WatchHelper;
|
||||
#else
|
||||
import hxp.helpers.AndroidHelper;
|
||||
import hxp.helpers.ArrayHelper;
|
||||
import hxp.helpers.AssetHelper;
|
||||
@@ -17,9 +36,10 @@ import hxp.helpers.WatchHelper;
|
||||
import hxp.project.Architecture;
|
||||
import hxp.project.AssetType;
|
||||
import hxp.project.Haxelib;
|
||||
import hxp.project.HXProject;
|
||||
import hxp.project.HXProject in Project;
|
||||
import hxp.project.Icon;
|
||||
import hxp.project.PlatformTarget;
|
||||
#end
|
||||
import sys.io.File;
|
||||
import sys.FileSystem;
|
||||
|
||||
@@ -30,7 +50,7 @@ class AndroidPlatform extends PlatformTarget {
|
||||
private var deviceID: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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -4,6 +4,23 @@ package;
|
||||
import haxe.io.Path;
|
||||
import haxe.Json;
|
||||
import haxe.Template;
|
||||
#if (hxp > "1.0.0")
|
||||
import hxp.AssetHelper;
|
||||
import hxp.AssetType;
|
||||
import hxp.DeploymentHelper;
|
||||
import hxp.FileHelper;
|
||||
import hxp.FlashHelper;
|
||||
import hxp.Haxelib;
|
||||
import hxp.HTML5Helper;
|
||||
import hxp.LogHelper;
|
||||
import hxp.PathHelper;
|
||||
import hxp.Platform;
|
||||
import hxp.PlatformHelper;
|
||||
import hxp.PlatformTarget;
|
||||
import hxp.ProcessHelper;
|
||||
import hxp.Project;
|
||||
import hxp.WatchHelper;
|
||||
#else
|
||||
import hxp.helpers.AssetHelper;
|
||||
import hxp.helpers.DeploymentHelper;
|
||||
import hxp.helpers.FileHelper;
|
||||
@@ -16,9 +33,10 @@ import hxp.helpers.ProcessHelper;
|
||||
import hxp.helpers.WatchHelper;
|
||||
import hxp.project.AssetType;
|
||||
import hxp.project.Haxelib;
|
||||
import hxp.project.HXProject;
|
||||
import hxp.project.HXProject in Project;
|
||||
import hxp.project.Platform;
|
||||
import hxp.project.PlatformTarget;
|
||||
#end
|
||||
import sys.io.File;
|
||||
import sys.FileSystem;
|
||||
|
||||
@@ -34,7 +52,7 @@ class FlashPlatform extends PlatformTarget {
|
||||
private var logLength:Int = 0;
|
||||
|
||||
|
||||
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);
|
||||
|
||||
|
||||
@@ -6,6 +6,23 @@ import haxe.Template;
|
||||
#if lime
|
||||
import lime.text.Font;
|
||||
#end
|
||||
#if (hxp > "1.0.0")
|
||||
import hxp.AssetHelper;
|
||||
import hxp.AssetType;
|
||||
import hxp.DeploymentHelper;
|
||||
import hxp.ElectronHelper;
|
||||
import hxp.FileHelper;
|
||||
import hxp.HTML5Helper;
|
||||
import hxp.Icon;
|
||||
import hxp.IconHelper;
|
||||
import hxp.LogHelper;
|
||||
import hxp.ModuleHelper;
|
||||
import hxp.PathHelper;
|
||||
import hxp.PlatformTarget;
|
||||
import hxp.ProcessHelper;
|
||||
import hxp.Project;
|
||||
import hxp.WatchHelper;
|
||||
#else
|
||||
import hxp.helpers.AssetHelper;
|
||||
import hxp.helpers.DeploymentHelper;
|
||||
import hxp.helpers.ElectronHelper;
|
||||
@@ -18,9 +35,10 @@ import hxp.helpers.PathHelper;
|
||||
import hxp.helpers.ProcessHelper;
|
||||
import hxp.helpers.WatchHelper;
|
||||
import hxp.project.AssetType;
|
||||
import hxp.project.HXProject;
|
||||
import hxp.project.HXProject in Project;
|
||||
import hxp.project.Icon;
|
||||
import hxp.project.PlatformTarget;
|
||||
#end
|
||||
import sys.io.File;
|
||||
import sys.FileSystem;
|
||||
|
||||
@@ -32,7 +50,7 @@ class HTML5Platform 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);
|
||||
|
||||
@@ -145,7 +163,7 @@ class HTML5Platform extends PlatformTarget {
|
||||
}
|
||||
|
||||
|
||||
private function initialize (command:String, project:HXProject):Void {
|
||||
private function initialize (command:String, project:Project):Void {
|
||||
|
||||
if (targetFlags.exists ("electron")) {
|
||||
|
||||
|
||||
@@ -5,6 +5,31 @@ package;
|
||||
import haxe.io.Path;
|
||||
import haxe.Json;
|
||||
import haxe.Template;
|
||||
#if (hxp > "1.0.0")
|
||||
import hxp.Architecture;
|
||||
import hxp.ArrayHelper;
|
||||
import hxp.Asset;
|
||||
import hxp.AssetHelper;
|
||||
import hxp.AssetType;
|
||||
import hxp.CPPHelper;
|
||||
import hxp.DeploymentHelper;
|
||||
import hxp.FileHelper;
|
||||
import hxp.Haxelib;
|
||||
import hxp.Icon;
|
||||
import hxp.IconHelper;
|
||||
import hxp.IOSHelper;
|
||||
import hxp.Keystore;
|
||||
import hxp.LogHelper;
|
||||
import hxp.NDLL;
|
||||
import hxp.PathHelper;
|
||||
import hxp.Platform;
|
||||
import hxp.PlatformHelper;
|
||||
import hxp.PlatformTarget;
|
||||
import hxp.ProcessHelper;
|
||||
import hxp.Project;
|
||||
import hxp.StringHelper;
|
||||
import hxp.WatchHelper;
|
||||
#else
|
||||
import hxp.helpers.ArrayHelper;
|
||||
import hxp.helpers.AssetHelper;
|
||||
import hxp.helpers.CPPHelper;
|
||||
@@ -18,19 +43,20 @@ import hxp.helpers.PlatformHelper;
|
||||
import hxp.helpers.ProcessHelper;
|
||||
import hxp.helpers.StringHelper;
|
||||
import hxp.helpers.WatchHelper;
|
||||
#if lime
|
||||
import lime.graphics.Image;
|
||||
#end
|
||||
import hxp.project.Architecture;
|
||||
import hxp.project.Asset;
|
||||
import hxp.project.AssetType;
|
||||
import hxp.project.Haxelib;
|
||||
import hxp.project.HXProject;
|
||||
import hxp.project.HXProject in Project;
|
||||
import hxp.project.Icon;
|
||||
import hxp.project.Keystore;
|
||||
import hxp.project.NDLL;
|
||||
import hxp.project.Platform;
|
||||
import hxp.project.PlatformTarget;
|
||||
#end
|
||||
#if lime
|
||||
import lime.graphics.Image;
|
||||
#end
|
||||
import sys.io.File;
|
||||
import sys.FileSystem;
|
||||
|
||||
@@ -38,7 +64,7 @@ import sys.FileSystem;
|
||||
class IOSPlatform extends PlatformTarget {
|
||||
|
||||
|
||||
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);
|
||||
|
||||
|
||||
@@ -3,6 +3,26 @@ package;
|
||||
|
||||
import haxe.io.Path;
|
||||
import haxe.Template;
|
||||
#if (hxp > "1.0.0")
|
||||
import hxp.Architecture;
|
||||
import hxp.AssetHelper;
|
||||
import hxp.AssetType;
|
||||
import hxp.CPPHelper;
|
||||
import hxp.DeploymentHelper;
|
||||
import hxp.FileHelper;
|
||||
import hxp.Haxelib;
|
||||
import hxp.JavaHelper;
|
||||
import hxp.LogHelper;
|
||||
import hxp.NekoHelper;
|
||||
import hxp.NodeJSHelper;
|
||||
import hxp.PathHelper;
|
||||
import hxp.Platform;
|
||||
import hxp.PlatformHelper;
|
||||
import hxp.PlatformTarget;
|
||||
import hxp.ProcessHelper;
|
||||
import hxp.Project;
|
||||
import hxp.WatchHelper;
|
||||
#else
|
||||
import hxp.helpers.AssetHelper;
|
||||
import hxp.helpers.CPPHelper;
|
||||
import hxp.helpers.DeploymentHelper;
|
||||
@@ -18,9 +38,10 @@ import hxp.helpers.WatchHelper;
|
||||
import hxp.project.AssetType;
|
||||
import hxp.project.Architecture;
|
||||
import hxp.project.Haxelib;
|
||||
import hxp.project.HXProject;
|
||||
import hxp.project.HXProject in Project;
|
||||
import hxp.project.Platform;
|
||||
import hxp.project.PlatformTarget;
|
||||
#end
|
||||
import sys.io.File;
|
||||
import sys.io.Process;
|
||||
import sys.FileSystem;
|
||||
@@ -36,7 +57,7 @@ class LinuxPlatform extends PlatformTarget {
|
||||
private var targetType: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);
|
||||
|
||||
|
||||
@@ -3,6 +3,31 @@ package;
|
||||
|
||||
import haxe.io.Path;
|
||||
import haxe.Template;
|
||||
#if (hxp > "1.0.0")
|
||||
import hxp.Architecture;
|
||||
import hxp.AssetHelper;
|
||||
import hxp.AssetType;
|
||||
import hxp.CPPHelper;
|
||||
import hxp.CSHelper;
|
||||
import hxp.DeploymentHelper;
|
||||
import hxp.FileHelper;
|
||||
import hxp.GUID;
|
||||
import hxp.Haxelib;
|
||||
import hxp.HaxelibHelper;
|
||||
import hxp.Icon;
|
||||
import hxp.IconHelper;
|
||||
import hxp.JavaHelper;
|
||||
import hxp.LogHelper;
|
||||
import hxp.NekoHelper;
|
||||
import hxp.NodeJSHelper;
|
||||
import hxp.PathHelper;
|
||||
import hxp.Platform;
|
||||
import hxp.PlatformHelper;
|
||||
import hxp.PlatformTarget;
|
||||
import hxp.ProcessHelper;
|
||||
import hxp.Project;
|
||||
import hxp.WatchHelper;
|
||||
#else
|
||||
import hxp.helpers.AssetHelper;
|
||||
import hxp.helpers.CPPHelper;
|
||||
import hxp.helpers.CSHelper;
|
||||
@@ -22,10 +47,11 @@ import hxp.helpers.WatchHelper;
|
||||
import hxp.project.AssetType;
|
||||
import hxp.project.Architecture;
|
||||
import hxp.project.Haxelib;
|
||||
import hxp.project.HXProject;
|
||||
import hxp.project.HXProject in Project;
|
||||
import hxp.project.Icon;
|
||||
import hxp.project.Platform;
|
||||
import hxp.project.PlatformTarget;
|
||||
#end
|
||||
import sys.io.File;
|
||||
import sys.FileSystem;
|
||||
|
||||
@@ -41,7 +67,7 @@ class MacPlatform extends PlatformTarget {
|
||||
private var targetType: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);
|
||||
|
||||
|
||||
@@ -5,32 +5,58 @@ package;
|
||||
import haxe.io.Path;
|
||||
import haxe.Json;
|
||||
import haxe.Template;
|
||||
import hxp.helpers.AssetHelper;
|
||||
#if (hxp > "1.0.0")
|
||||
import hxp.Architecture;
|
||||
import hxp.ArrayHelper;
|
||||
import hxp.Asset;
|
||||
import hxp.AssetHelper;
|
||||
import hxp.AssetType;
|
||||
import hxp.CPPHelper;
|
||||
import hxp.DeploymentHelper;
|
||||
import hxp.FileHelper;
|
||||
import hxp.Haxelib;
|
||||
import hxp.Icon;
|
||||
import hxp.IconHelper;
|
||||
import hxp.Keystore;
|
||||
import hxp.LogHelper;
|
||||
import hxp.NDLL;
|
||||
import hxp.PathHelper;
|
||||
import hxp.Platform;
|
||||
import hxp.PlatformHelper;
|
||||
import hxp.PlatformTarget;
|
||||
import hxp.ProcessHelper;
|
||||
import hxp.Project;
|
||||
import hxp.StringHelper;
|
||||
import hxp.TVOSHelper;
|
||||
import hxp.WatchHelper;
|
||||
#else
|
||||
import hxp.helpers.ArrayHelper;
|
||||
import hxp.helpers.AssetHelper;
|
||||
import hxp.helpers.CPPHelper;
|
||||
import hxp.helpers.DeploymentHelper;
|
||||
import hxp.helpers.FileHelper;
|
||||
import hxp.helpers.IconHelper;
|
||||
import hxp.helpers.TVOSHelper;
|
||||
import hxp.helpers.LogHelper;
|
||||
import hxp.helpers.PathHelper;
|
||||
import hxp.helpers.PlatformHelper;
|
||||
import hxp.helpers.ProcessHelper;
|
||||
import hxp.helpers.StringHelper;
|
||||
import hxp.helpers.TVOSHelper;
|
||||
import hxp.helpers.WatchHelper;
|
||||
#if lime
|
||||
import lime.graphics.Image;
|
||||
#end
|
||||
import hxp.project.Architecture;
|
||||
import hxp.project.Asset;
|
||||
import hxp.project.AssetType;
|
||||
import hxp.project.Haxelib;
|
||||
import hxp.project.HXProject;
|
||||
import hxp.project.HXProject in Project;
|
||||
import hxp.project.Icon;
|
||||
import hxp.project.Keystore;
|
||||
import hxp.project.NDLL;
|
||||
import hxp.project.Platform;
|
||||
import hxp.project.PlatformTarget;
|
||||
#end
|
||||
#if lime
|
||||
import lime.graphics.Image;
|
||||
#end
|
||||
import sys.io.File;
|
||||
import sys.FileSystem;
|
||||
|
||||
@@ -38,7 +64,7 @@ import sys.FileSystem;
|
||||
class TVOSPlatform extends PlatformTarget {
|
||||
|
||||
|
||||
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);
|
||||
|
||||
|
||||
@@ -3,6 +3,20 @@ package;
|
||||
|
||||
import haxe.io.Path;
|
||||
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.Icon;
|
||||
import hxp.IconHelper;
|
||||
import hxp.PathHelper;
|
||||
import hxp.PlatformTarget;
|
||||
import hxp.ProcessHelper;
|
||||
import hxp.Project;
|
||||
import hxp.TizenHelper;
|
||||
#else
|
||||
import hxp.helpers.AssetHelper;
|
||||
import hxp.helpers.CPPHelper;
|
||||
import hxp.helpers.DeploymentHelper;
|
||||
@@ -12,9 +26,10 @@ import hxp.helpers.PathHelper;
|
||||
import hxp.helpers.ProcessHelper;
|
||||
import hxp.helpers.TizenHelper;
|
||||
import hxp.project.AssetType;
|
||||
import hxp.project.HXProject;
|
||||
import hxp.project.HXProject in Project;
|
||||
import hxp.project.Icon;
|
||||
import hxp.project.PlatformTarget;
|
||||
#end
|
||||
import sys.io.File;
|
||||
import sys.FileSystem;
|
||||
|
||||
@@ -25,7 +40,7 @@ class TizenPlatform extends PlatformTarget {
|
||||
private static var uuid:String = null;
|
||||
|
||||
|
||||
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);
|
||||
|
||||
|
||||
@@ -3,6 +3,33 @@ package;
|
||||
|
||||
import haxe.io.Path;
|
||||
import haxe.Template;
|
||||
#if (hxp > "1.0.0")
|
||||
import hxp.Architecture;
|
||||
import hxp.Asset;
|
||||
import hxp.AssetHelper;
|
||||
import hxp.AssetType;
|
||||
import hxp.CPPHelper;
|
||||
import hxp.CSHelper;
|
||||
import hxp.DeploymentHelper;
|
||||
import hxp.FileHelper;
|
||||
import hxp.GUID;
|
||||
import hxp.Haxelib;
|
||||
import hxp.HTML5Helper;
|
||||
import hxp.Icon;
|
||||
import hxp.IconHelper;
|
||||
import hxp.JavaHelper;
|
||||
import hxp.LogHelper;
|
||||
import hxp.ModuleHelper;
|
||||
import hxp.NekoHelper;
|
||||
import hxp.NodeJSHelper;
|
||||
import hxp.PathHelper;
|
||||
import hxp.Platform;
|
||||
import hxp.PlatformHelper;
|
||||
import hxp.PlatformTarget;
|
||||
import hxp.ProcessHelper;
|
||||
import hxp.Project;
|
||||
import hxp.WatchHelper;
|
||||
#else
|
||||
import hxp.project.Icon;
|
||||
import hxp.helpers.AssetHelper;
|
||||
import hxp.helpers.CPPHelper;
|
||||
@@ -25,9 +52,10 @@ import hxp.project.Architecture;
|
||||
import hxp.project.Asset;
|
||||
import hxp.project.AssetType;
|
||||
import hxp.project.Haxelib;
|
||||
import hxp.project.HXProject;
|
||||
import hxp.project.HXProject in Project;
|
||||
import hxp.project.Platform;
|
||||
import hxp.project.PlatformTarget;
|
||||
#end
|
||||
import sys.io.File;
|
||||
import sys.FileSystem;
|
||||
|
||||
@@ -42,7 +70,7 @@ class WindowsPlatform 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