Add support for 'macos' in addition to 'mac' as a target name
This commit is contained in:
@@ -246,6 +246,10 @@ class CommandLineTools {
|
|||||||
target = Platform.TVOS;
|
target = Platform.TVOS;
|
||||||
targetFlags.set ("simulator", "");
|
targetFlags.set ("simulator", "");
|
||||||
|
|
||||||
|
case "mac", "macos":
|
||||||
|
|
||||||
|
target = Platform.MAC;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
||||||
target = cast targetName.toLowerCase ();
|
target = cast targetName.toLowerCase ();
|
||||||
@@ -1206,6 +1210,11 @@ class CommandLineTools {
|
|||||||
target = Platform.FIREFOX;
|
target = Platform.FIREFOX;
|
||||||
overrides.haxedefs.set ("firefoxos", "");
|
overrides.haxedefs.set ("firefoxos", "");
|
||||||
|
|
||||||
|
case "mac", "macos":
|
||||||
|
|
||||||
|
target = Platform.MAC;
|
||||||
|
overrides.haxedefs.set ("macos", "");
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
||||||
target = cast targetName.toLowerCase ();
|
target = cast targetName.toLowerCase ();
|
||||||
|
|||||||
Reference in New Issue
Block a user