public void Run(ITaskOutput output, NameValueCollection metaData)
        {
            IInstallerLoggingService logging = new SitecoreInstallerLoggingService();

            logging.Log <CreateSpeakApplications>("AddTitleToCommerceSpeakAppsSection started.");

            Parse(new DirectoryInfo(GetRootFolder()));

            logging.Log <CreateSpeakApplications>("AddTitleToCommerceSpeakAppsSection finished.");
        }
Пример #2
0
        public void Run(ITaskOutput output, NameValueCollection metaData)
        {
            IInstallerLoggingService logging = new SitecoreInstallerLoggingService();

            logging.Log <CreateSpeakApplications>("CreateSpeakApplications started.");

            var rootFolder = GetRootFolder();

            logging.Log <CreateSpeakApplications>(string.Format("RootFolder: {0}", rootFolder));
            var directoryOrder = new[]
            {
                "templates", "client", "layout"
            };

            foreach (var directory in directoryOrder)
            {
                Parse(new DirectoryInfo(Path.Combine(rootFolder, directory)));
            }
            logging.Log <CreateSpeakApplications>("CreateSpeakApplications finished.");
        }