private static Dictionary <string, PlatformCommand> ParseCommands(XmlNode version, Dictionary <string, PlatformCommand> defaultCommands)
        {
            // custom display/build/run/clean commands, ie. for openfl
            var commands = defaultCommands == null
                ? new Dictionary <string, PlatformCommand>()
                : new Dictionary <string, PlatformCommand>(defaultCommands);

            foreach (XmlNode node in version.ChildNodes)
            {
                if (node.Name == "command")
                {
                    var command = new PlatformCommand
                    {
                        Name    = node.Attributes["name"].Value,
                        Value   = node.Attributes["value"].Value,
                        RawData = node
                    };
                    commands.Add(command.Name.ToLower(), command);
                }
            }
            if (commands.Count > 0)
            {
                return(commands);
            }
            return(null);
        }
        private static Dictionary<string, PlatformCommand> ParseCommands(XmlNode version, Dictionary<string, PlatformCommand> defaultCommands)
        {
            // custom display/build/run/clean commands, ie. for openfl
            var commands = defaultCommands == null 
                ? new Dictionary<string, PlatformCommand>()
                : new Dictionary<string, PlatformCommand>(defaultCommands);

            foreach (XmlNode node in version.ChildNodes)
            {
                if (node.Name == "command")
                {
                    var command = new PlatformCommand
                    {
                        Name = node.Attributes["name"].Value,
                        Value = node.Attributes["value"].Value,
                        RawData = node
                    };
                    commands.Add(command.Name.ToLower(), command);
                }
            }
            if (commands.Count > 0) return commands;
            return null;
        }