forked from danielpalme/OpenCoverToCoberturaConverter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.proj
26 lines (21 loc) · 869 Bytes
/
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
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Deploy" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<!-- Version, adjust before build -->
<PropertyGroup>
<Version>0.2.4.0</Version>
</PropertyGroup>
<!-- Tools -->
<PropertyGroup>
<NuGetCommandLine>packages\NuGet.CommandLine.2.8.1\tools\NuGet.exe</NuGetCommandLine>
</PropertyGroup>
<Target Name="Clean">
<RemoveDir Directories="target" />
</Target>
<Target Name="Compile">
<MSBuild Projects="OpenCoverToCoberturaConverter.sln" Properties="Configuration=Release" />
</Target>
<Target Name="Deploy" DependsOnTargets="Clean; Compile">
<MakeDir Directories="target" />
<Exec Command="$(NuGetCommandLine) pack OpenCoverToCoberturaConverter.nuspec -OutputDirectory target -Version $(Version)" />
</Target>
</Project>