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))
     };
 }
Exemple #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))
     };
 }