Esempio n. 1
0
        private static void ExecuteOldStyle()
        {
            HelpHandler help = new HelpHandler();

            if (!Config.Current.ShowHelp)
            {
                Log.Information(help.Copyleft());

                if (Config.Current.CreateFolders)
                {
                    // Creates a folder structure for the WSP package
                    WSPFolders wspFolders = new WSPFolders(Config.Current.FolderDestination);
                    wspFolders.Create();
                }
                else
                {
                    if (Config.Current.BuildWSP)
                    {
                        // Build the WSP package.
                        BuildWSP();
                    }


                    // Handles any deployment arguments
                    Deployment.HandleArguments();
                }
            }
            else
            {
                Console.WriteLine(help.Print());
            }
        }