Moving hardcoded features from setup into a recipe file.

--HG--
branch : recipe
This commit is contained in:
Suha Can
2011-02-17 19:15:28 -08:00
parent 0e9d18598b
commit 779fb27ce3
2 changed files with 10 additions and 27 deletions

View File

@@ -9,7 +9,10 @@
<Version>1.0</Version>
</Recipe>
<Feature disable="Orchard.Media" enable="Orchard.Experimental" />
<Feature enable="Orchard.PublishLater,Orchard.Blogs,Orchard.Comments,Orchard.ContentTypes,
Orchard.jQuery,Orchard.Lists,Orchard.Media,
Orchard.Tags,Orchard.Scripting,Orchard.Scripting.Lightweight,
TinyMce,PackagingServices,Orchard.Packaging,Gallery,TheThemeMachine,Orchard.Experimental" />
<Metadata>
<Types>

View File

@@ -94,33 +94,13 @@ namespace Orchard.Setup.Services {
"Settings",
"Shapes",
// Other
"Orchard.PublishLater", // todo: (sebros) remove
"Orchard.Blogs",
"Orchard.Comments",
"Orchard.ContentTypes",
"Orchard.jQuery",
"Orchard.Lists",
"Orchard.Media",
"Orchard.Modules",
"Orchard.Pages",
"Orchard.Recipes",
"Orchard.Roles",
"Orchard.Tags",
"Orchard.Widgets",
"Orchard.Themes",
"Orchard.Users",
"Orchard.Scripting",
"Orchard.Scripting.Lightweight",
"Orchard.Widgets",
"TinyMce",
// Gallery/Packaging
"PackagingServices",
"Orchard.Packaging",
"Gallery",
// Themes
"TheThemeMachine",
"Orchard.Roles",
"Orchard.Modules",
"Orchard.Recipes"
};
context.EnabledFeatures = hardcoded;