Compiling the solution for CI tests

This commit is contained in:
Sebastien Ros 2015-07-22 14:36:57 -07:00
parent 046c62e710
commit 8032d202e3
2 changed files with 6 additions and 4 deletions

View File

@ -160,6 +160,11 @@
</ItemGroup> </ItemGroup>
<Copy SourceFiles="@(NUnitAddinFiles)" DestinationFolder="$(LibFolder)\nunit\addins" /> <Copy SourceFiles="@(NUnitAddinFiles)" DestinationFolder="$(LibFolder)\nunit\addins" />
<!-- The Spec tests require the local project to be built and so that /bin exists -->
<MSBuild
Projects="$(SrcFolder)\Orchard.sln"
Targets="Build"/>
<CreateItem Include="$(CompileFolder)\*.Specs.dll"> <CreateItem Include="$(CompileFolder)\*.Specs.dll">
<Output TaskParameter="Include" ItemName="SpecAssemblies" /> <Output TaskParameter="Include" ItemName="SpecAssemblies" />
</CreateItem> </CreateItem>

View File

@ -59,10 +59,7 @@ namespace Orchard.Specs.Hosting {
//foreach (var filename in _knownThemes) //foreach (var filename in _knownThemes)
// Log("Available Theme: \"{0}\"", filename); // Log("Available Theme: \"{0}\"", filename);
if (_orchardWebPath.Combine("bin").Exists) { _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);