Open orchardbot opened 12 years ago
BrandonJoyce commented:
Unless someone beats me to it, I'm happy to implement this. Bertrand suggests looking into the CoreExtensionLoader. We will need to consider the build target that copies files from the modules folder.
@bleroy commented:
It would be great. Thanks in advance...
tmakaro commented:
So I am a newbie to Orchard but I did some hacking on this and was able to add Modules.CompanyA and Modules.CompanyB by hard coding them into the following 2 classes:
OrchardStarter.cs RazorViewEngineProvider.cs
Its just a hack as there are no wildcards to search for 'Modules.*'
Oh ya, I used 'Modules.' instead of '.Modules' so that when I do a directory listing in windows explorer, they all group together when sorted by name.
BrandonJoyce commented:
Cool. My goal is to spend some time on this over the weekend. Maybe we can make the convention configurable too so people who like Modules.* better can go with that. Will keep you updated.
@bleroy commented:
Let's just support both.
BrandonJoyce commented:
Ya, that sounds good.
BrandonJoyce commented:
Orchard.Codegeneration will probably need an optional argument added for folder name. I'll probably go with orchard> codegen Module ModuleName /folder:Modules.YourModules
Probably just going to throw an error if the folder name is not in the format Modules.* or *.Modules. Alternatively, I could just automatically append .Modules, but I don't know if I like that.
@bleroy commented:
Good point. Should be fairly easy to add.
@bleroy created: https://orchard.codeplex.com/workitem/19021
This would enable single-repositories for a set of extensions on local clones, for example MyCompany.Modules.