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;
|
||||
targetFlags.set ("simulator", "");
|
||||
|
||||
case "mac", "macos":
|
||||
|
||||
target = Platform.MAC;
|
||||
|
||||
default:
|
||||
|
||||
target = cast targetName.toLowerCase ();
|
||||
@@ -1206,6 +1210,11 @@ class CommandLineTools {
|
||||
target = Platform.FIREFOX;
|
||||
overrides.haxedefs.set ("firefoxos", "");
|
||||
|
||||
case "mac", "macos":
|
||||
|
||||
target = Platform.MAC;
|
||||
overrides.haxedefs.set ("macos", "");
|
||||
|
||||
default:
|
||||
|
||||
target = cast targetName.toLowerCase ();
|
||||
|
||||
Reference in New Issue
Block a user