PlatformSetup: added optional -noalias target flag to skip creating the lime/openfl alias during setup
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user