public PackageBundler(PublishManager publishManager, string projectKey, string projectPath) { SevenZipNativeLibrary.Install(); _publishManager = publishManager; ProjectKey = projectKey; ProjectPath = projectPath; _context = publishManager.Context; L = _context.L; SetUpDirectories(); var dirPath = Path.Combine(_context.SourcePath, ProjectPath); if (!Directory.Exists(dirPath)) { L.Info("No project path for " + ProjectKey + " @ " + dirPath); return; } SourceDirectory = new DirectoryInfo(dirPath); Files = SourceDirectory.GetFiles("*", SearchOption.AllDirectories).ToList(); }
public PackageFiller(PublishManager publishManager) { _publishManager = publishManager; }