-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Orchard.msbuild
20 lines (18 loc) · 1.02 KB
/
Orchard.msbuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="TeamCity" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- TeamCity built-in NUnit runner -->
<UsingTask TaskName="NUnit" AssemblyFile="$(teamcity_dotnet_nunitlauncher_msbuild_task)"/>
<!-- Build solution file in debug mode for running tests -->
<Target Name ="BuildSolution">
<MSBuild
Projects="src\Orchard.sln"
Targets="Build"
Properties="Configuration=Debug"/>
</Target>
<!-- Run unit tests using TeamCity NUnit runner -->
<Target Name="TeamCity" DependsOnTargets="BuildSolution">
<!-- TODO: This will change once we have a proper build task into the "dist" directory -->
<!-- Note: We use x86 because we are using a x86 version of SQLite -->
<NUnit Platform="x86" NUnitVersion="NUnit-2.5.0" Assemblies="src\Orchard.Tests\bin\Debug\Orchard.Tests.dll;src\Orchard.Web.Tests\bin\Debug\Orchard.Web.Tests.dll;src\Orchard.Tests.Packages\bin\Debug\Orchard.Tests.Packages.dll"/>
</Target>
</Project>