From fd5ea2b23be47530d124dcd54ca7b586f1cd29e6 Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Tue, 4 Mar 2014 10:36:12 -0800 Subject: [PATCH] Updating specflow default modules --- .../Bindings/OrchardSiteFactory.cs | 4 +- .../Config/HostComponents.Debug.config | 4 + .../Config/HostComponents.Release.config | 12 +++ .../Orchard.Web/Config/HostComponents.config | 100 ++++++++++++++++++ src/Orchard.Specs/Hosting/WebHost.cs | 3 + src/Orchard.Specs/Orchard.Specs.csproj | 9 ++ 6 files changed, 130 insertions(+), 2 deletions(-) create mode 100644 src/Orchard.Specs/Hosting/Orchard.Web/Config/HostComponents.Debug.config create mode 100644 src/Orchard.Specs/Hosting/Orchard.Web/Config/HostComponents.Release.config create mode 100644 src/Orchard.Specs/Hosting/Orchard.Web/Config/HostComponents.config diff --git a/src/Orchard.Specs/Bindings/OrchardSiteFactory.cs b/src/Orchard.Specs/Bindings/OrchardSiteFactory.cs index 9a2b34902..d390ef3ed 100644 --- a/src/Orchard.Specs/Bindings/OrchardSiteFactory.cs +++ b/src/Orchard.Specs/Bindings/OrchardSiteFactory.cs @@ -24,8 +24,8 @@ namespace Orchard.Specs.Bindings { webApp.GivenIHaveACleanSiteWith( virtualDirectory, TableData( - new { extension = "Module", names = "Orchard.Setup, Orchard.Pages, Orchard.ContentPicker, Orchard.Blogs, Orchard.MediaLibrary, Orchard.Modules, Orchard.Packaging, Orchard.PublishLater, Orchard.Themes, Orchard.Scripting, Orchard.Widgets, Orchard.Users, Orchard.ContentTypes, Orchard.Roles, Orchard.Comments, Orchard.jQuery, Orchard.Tags, TinyMce, Orchard.Recipes, Orchard.Warmup, Orchard.Alias, Orchard.Forms, Orchard.Tokens, Orchard.Autoroute, Orchard.Projections, Orchard.Fields, Orchard.MediaProcessing, Orchard.OutputCache, Orchard.Taxonomies, Orchard.Workflows, Orchard.Scripting.CSharp" }, - new { extension = "Core", names = "Common, Containers, Dashboard, Feeds, Navigation, Contents, Scheduling, Settings, Shapes, XmlRpc, Title, Reports" }, + new { extension = "Module", names = "Lucene, Markdown, Orchard.Alias, Orchard.AntiSpam, Orchard.ArchiveLater, Orchard.Autoroute, Orchard.Azure, Orchard.Blogs, Orchard.Caching, Orchard.CodeGeneration, Orchard.Comments, Orchard.ContentPermissions, Orchard.ContentPicker, Orchard.ContentTypes, Orchard.CustomForms, Orchard.DesignerTools, Orchard.Email, Orchard.Fields, Orchard.Forms, Orchard.ImageEditor, Orchard.ImportExport, Orchard.Indexing, Orchard.JobsQueue, Orchard.jQuery, Orchard.Lists, Orchard.Localization, Orchard.Media, Orchard.MediaLibrary, Orchard.MediaPicker, Orchard.MediaProcessing, Orchard.Migrations, Orchard.Modules, Orchard.MultiTenancy, Orchard.OutputCache, Orchard.Packaging, Orchard.Pages, Orchard.Projections, Orchard.PublishLater, Orchard.Recipes, Orchard.Roles, Orchard.Rules, Orchard.Scripting, Orchard.Scripting.CSharp, Orchard.Scripting.Dlr, Orchard.Search, Orchard.SecureSocketsLayer, Orchard.Setup, Orchard.Tags, Orchard.TaskLease, Orchard.Taxonomies, Orchard.Templates, Orchard.Themes, Orchard.Tokens, Orchard.Users, Orchard.Warmup, Orchard.Widgets, Orchard.Workflows, SysCache, TinyMce, Upgrade" }, + new { extension = "Core", names = "Common, Containers, Contents, Dashboard, Feeds, Navigation, Reports, Scheduling, Settings, Shapes, Title, XmlRpc" }, new { extension = "Theme", names = "SafeMode, TheAdmin, TheThemeMachine" })); webApp.WhenIGoTo("Setup"); diff --git a/src/Orchard.Specs/Hosting/Orchard.Web/Config/HostComponents.Debug.config b/src/Orchard.Specs/Hosting/Orchard.Web/Config/HostComponents.Debug.config new file mode 100644 index 000000000..f90930c77 --- /dev/null +++ b/src/Orchard.Specs/Hosting/Orchard.Web/Config/HostComponents.Debug.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/Orchard.Specs/Hosting/Orchard.Web/Config/HostComponents.Release.config b/src/Orchard.Specs/Hosting/Orchard.Web/Config/HostComponents.Release.config new file mode 100644 index 000000000..db8582c6d --- /dev/null +++ b/src/Orchard.Specs/Hosting/Orchard.Web/Config/HostComponents.Release.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Orchard.Specs/Hosting/Orchard.Web/Config/HostComponents.config b/src/Orchard.Specs/Hosting/Orchard.Web/Config/HostComponents.config new file mode 100644 index 000000000..b41a89aa2 --- /dev/null +++ b/src/Orchard.Specs/Hosting/Orchard.Web/Config/HostComponents.config @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Orchard.Specs/Hosting/WebHost.cs b/src/Orchard.Specs/Hosting/WebHost.cs index 2069575b2..fb86c392d 100644 --- a/src/Orchard.Specs/Hosting/WebHost.cs +++ b/src/Orchard.Specs/Hosting/WebHost.cs @@ -195,6 +195,7 @@ namespace Orchard.Specs.Hosting { sourceModule.ShallowCopy("*.txt", targetModule); sourceModule.ShallowCopy("*.info", targetModule); + sourceModule.ShallowCopy("*.config", targetModule); if ((deploymentOptions & ExtensionDeploymentOptions.SourceCode) == ExtensionDeploymentOptions.SourceCode) { sourceModule.ShallowCopy("*.csproj", targetModule); @@ -207,6 +208,8 @@ namespace Orchard.Specs.Hosting { if (sourceModule.Combine("Views").IsDirectory) sourceModule.Combine("Views").DeepCopy(targetModule.Combine("Views")); + + // don't copy content folders as they are useless in this headless scenario } public void CopyFile(string source, string destination) { diff --git a/src/Orchard.Specs/Orchard.Specs.csproj b/src/Orchard.Specs/Orchard.Specs.csproj index e8aaa04ca..e76362fd5 100644 --- a/src/Orchard.Specs/Orchard.Specs.csproj +++ b/src/Orchard.Specs/Orchard.Specs.csproj @@ -327,6 +327,15 @@ SpecFlowSingleFileGenerator Enumeration.feature.cs + + Designer + + + HostComponents.config + + + HostComponents.config + SpecFlowSingleFileGenerator Input.feature.cs