Skip to content

Commit 1b517ae

Browse files
committed
update build script to create NuGet package for coverlet.console
1 parent 4f59586 commit 1b517ae

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

build.proj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
<Target Name="CreateNuGetPackage" AfterTargets="RunTests" Condition="$(Configuration) == 'Release'">
3131
<Exec Command="dotnet pack &quot;$(MSBuildThisFileDirectory)src\coverlet.msbuild.tasks\coverlet.msbuild.tasks.csproj&quot; -c $(Configuration) -o $(OutputPath) /p:NuspecFile=$(NuspecFile)" />
32+
<Exec Command="dotnet pack &quot;$(MSBuildThisFileDirectory)src\coverlet.console\coverlet.console.csproj&quot; -c $(Configuration) -o $(OutputPath)" />
3233
</Target>
3334

3435
</Project>

src/coverlet.console/coverlet.console.csproj

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,21 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.0</TargetFramework>
5+
<TargetFramework>netcoreapp2.1</TargetFramework>
66
<ToolCommandName>coverlet</ToolCommandName>
77
<PackAsTool>true</PackAsTool>
8-
<AssemblyTitle>Coverlet</AssemblyTitle>
8+
<AssemblyTitle>coverlet.console</AssemblyTitle>
99
<AssemblyVersion>1.0.0</AssemblyVersion>
10+
<AssemblyDescription>Coverlet is a cross platform code coverage library for .NET Core, with support for line, branch and method coverage.</AssemblyDescription>
11+
<Authors>tonerdo</Authors>
12+
<PackageId>$(AssemblyTitle)</PackageId>
13+
<PackageTitle>$(AssemblyTitle)</PackageTitle>
14+
<PackageVersion>$(AssemblyVersion)</PackageVersion>
15+
<PackageTags>coverage;testing;unit-test;lcov;opencover;quality</PackageTags>
16+
<PackageProjectUrl>https://github.com/tonerdo/coverlet</PackageProjectUrl>
17+
<PackageLicenseUrl>https://github.com/tonerdo/coverlet/blob/master/LICENSE</PackageLicenseUrl>
18+
<RepositoryType>git</RepositoryType>
19+
<RepositoryUrl>https://github.com/tonerdo/coverlet</RepositoryUrl>
1020
</PropertyGroup>
1121

1222
<ItemGroup>

0 commit comments

Comments
 (0)