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))
     };
 }
Exemplo n.º 2
0
 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))
     };
 }