public RequireConfigReader(string projectPath, string packagePath, string entryPointOverride, List<string> filePaths) { ProjectPath = projectPath; FilePaths = filePaths; OutputPath = projectPath; EntryOverride = entryPointOverride; if (!string.IsNullOrWhiteSpace(packagePath)) { OutputPath = packagePath; } Configuration = new RequireConfiguration { EntryPoint = Path.GetFullPath(Path.Combine(projectPath + Path.DirectorySeparatorChar, DefaultScriptDirectory)) }; }
public RequireConfigReader(string projectPath, string packagePath, string entryPointOverride, List <string> filePaths) { ProjectPath = projectPath; FilePaths = filePaths; OutputPath = projectPath; EntryOverride = entryPointOverride; if (!string.IsNullOrWhiteSpace(packagePath)) { OutputPath = packagePath; } Configuration = new RequireConfiguration { EntryPoint = Path.GetFullPath(Path.Combine(projectPath + Path.DirectorySeparatorChar, DefaultScriptDirectory)) }; }