-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuild.proj
28 lines (24 loc) · 1.01 KB
/
Build.proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Root>$(MSBuildThisFileDirectory)</Root>
<SolutionDir>$(Root)</SolutionDir>
</PropertyGroup>
<UsingTask AssemblyFile="$(Root)\packages\xunit.1.9.2\lib\net20\xunit.runner.msbuild.dll"
TaskName="Xunit.Runner.MSBuild.xunit" />
<Target Name="InstallNuGet">
<MakeDir Directories="$(Root)/.nuget" />
<MSBuild Projects="$(Root)/.nuget/NuGet.targets"
Properties="DownloadNuGetExe=true;ProjectDir=$(Root);SolutionDir=$(Root)"
Targets="RestorePackages"
/>
</Target>
<Target Name="Build" DependsOnTargets="InstallNuGet">
<Exec Command="tools\psake\psake.bat"
WorkingDirectory="$(Root)"
LogStandardErrorAsError="true"
/>
</Target>
<Target Name="Tests">
<xunit Assembly="$(Root)\build\WebApi.Formatting.JsonMask.Tests.dll" />
</Target>
</Project>