public IEnumerable<IPackageInfo> Load(IPackageLog log) { var packages = new List<IPackageInfo>(); foreach (var folder in _contentFolders) { log.Trace("Loading content package from " + folder); var pak = new ContentOnlyPackageInfo(folder, Path.GetFileName(folder)); packages.Add(pak); packages.AddRange(ContentOnlyPackageInfo.FromAssemblies(folder)); } return packages; }
protected void InBottle(string name) { _directory = Folder.AppendPath(name).ToFullPath(); var bottle = new ContentOnlyPackageInfo(_directory, name); _bottles.Add(bottle); }
public void SetUp() { new FileSystem().CreateDirectory("content-package"); thePackage = new ContentOnlyPackageInfo("content-package", "content-package"); }