Improving the packaging command

Adding a <path> parameter to define the location of the created file
Corrected the destination folder for themes

--HG--
branch : nuget
This commit is contained in:
Sebastien Ros
2010-11-10 16:09:20 -08:00
parent c378fa0a59
commit 025144daa6
4 changed files with 14 additions and 15 deletions

View File

@@ -29,7 +29,8 @@ namespace Orchard.Packaging.Services {
}
public void AddSource(string feedTitle, string feedUrl) {
_packagingSourceRecordRepository.Create(new PackagingSource {FeedTitle = feedTitle, FeedUrl = feedUrl});
var packagingSource = new PackagingSource {FeedTitle = feedTitle, FeedUrl = feedUrl};
_packagingSourceRecordRepository.Create(packagingSource);
}
public void RemoveSource(int id) {