mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Removing extraneous trace from specflow tests
--HG-- branch : 1.x extra : rebase_source : f17c87944c82ce9553e0558447d185ae42791cf4
This commit is contained in:
@@ -52,16 +52,16 @@ namespace Orchard.Specs.Hosting {
|
|||||||
Log(" Temporary location: \"{0}\"", _tempSite);
|
Log(" Temporary location: \"{0}\"", _tempSite);
|
||||||
|
|
||||||
_knownModules = _orchardWebPath.Combine("Modules").Directories.Where(d => d.Combine("module.txt").Exists).Select(d => d.FileName).ToList();
|
_knownModules = _orchardWebPath.Combine("Modules").Directories.Where(d => d.Combine("module.txt").Exists).Select(d => d.FileName).ToList();
|
||||||
foreach (var filename in _knownModules)
|
//foreach (var filename in _knownModules)
|
||||||
Log("Available Module: \"{0}\"", filename);
|
// Log("Available Module: \"{0}\"", filename);
|
||||||
|
|
||||||
_knownThemes = _orchardWebPath.Combine("Themes").Directories.Where(d => d.Combine("theme.txt").Exists).Select(d => d.FileName).ToList();
|
_knownThemes = _orchardWebPath.Combine("Themes").Directories.Where(d => d.Combine("theme.txt").Exists).Select(d => d.FileName).ToList();
|
||||||
foreach (var filename in _knownThemes)
|
//foreach (var filename in _knownThemes)
|
||||||
Log("Available Theme: \"{0}\"", filename);
|
// Log("Available Theme: \"{0}\"", filename);
|
||||||
|
|
||||||
_knownBinAssemblies = _orchardWebPath.Combine("bin").GetFiles("*.dll").Select(f => f.FileNameWithoutExtension);
|
_knownBinAssemblies = _orchardWebPath.Combine("bin").GetFiles("*.dll").Select(f => f.FileNameWithoutExtension);
|
||||||
foreach (var filename in _knownBinAssemblies)
|
//foreach (var filename in _knownBinAssemblies)
|
||||||
Log("Assembly in ~/bin: \"{0}\"", filename);
|
// Log("Assembly in ~/bin: \"{0}\"", filename);
|
||||||
|
|
||||||
Log("Copy files from template \"{0}\"", templateName);
|
Log("Copy files from template \"{0}\"", templateName);
|
||||||
baseDir.Combine("Hosting").Combine(templateName)
|
baseDir.Combine("Hosting").Combine(templateName)
|
||||||
|
@@ -50,7 +50,7 @@ namespace Orchard.Specs.Util {
|
|||||||
private static void FileCopy(Path sourcePath, Path targetPath, Path sourceFile) {
|
private static void FileCopy(Path sourcePath, Path targetPath, Path sourceFile) {
|
||||||
var targetFile = targetPath.Combine(sourceFile.GetRelativePath(sourcePath));
|
var targetFile = targetPath.Combine(sourceFile.GetRelativePath(sourcePath));
|
||||||
targetFile.Parent.CreateDirectory();
|
targetFile.Parent.CreateDirectory();
|
||||||
Trace.WriteLine(string.Format("Copying file '{0}' to '{1}'", sourceFile, targetFile));
|
// Trace.WriteLine(string.Format("Copying file '{0}' to '{1}'", sourceFile, targetFile));
|
||||||
File.Copy(sourceFile, targetFile, true /*overwrite*/);
|
File.Copy(sourceFile, targetFile, true /*overwrite*/);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user