PlatformSetup: added optional -noalias target flag to skip creating the lime/openfl alias during setup

This commit is contained in:
Josh Tynjala
2023-12-08 09:34:18 -08:00
parent 21e8e619c3
commit aec341d481

View File

@@ -816,6 +816,8 @@ class PlatformSetup
setupHaxelib(new Haxelib("lime"));
}
if (!targetFlags.exists("noalias"))
{
var haxePath = Sys.getEnv("HAXEPATH");
if (System.hostPlatform == WINDOWS)
@@ -901,6 +903,7 @@ class PlatformSetup
Sys.println("");
}
}
}
if (System.hostPlatform == MAC)
{
@@ -1036,6 +1039,8 @@ class PlatformSetup
setupHaxelib(new Haxelib("openfl"));
}
if (!targetFlags.exists("noalias"))
{
var haxePath = Sys.getEnv("HAXEPATH");
var project = null;
@@ -1146,6 +1151,7 @@ class PlatformSetup
Sys.println("");
}
}
}
if (System.hostPlatform == MAC)
{