Skip to content

Commit 4acda56

Browse files
committed
(GH-86) Another stab at Cake Build
1 parent 1a18bbe commit 4acda56

File tree

5 files changed

+6
-2
lines changed

5 files changed

+6
-2
lines changed

Packaging/nuget/GitReleaseManager.Portable.nuspec renamed to nuspec/chocolatey/GitReleaseManager.Portable.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<tags>github release notes create export</tags>
1818
</metadata>
1919
<files>
20-
<file src="..\..\BuildArtifacts\GitReleaseManager.exe" target="tools" />
20+
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\GitReleaseManager.Cli\GitReleaseManager.exe" target="tools" />
2121
<file src="chocolateyInstall.ps1" target="tools"/>
2222
<file src="chocolateyUninstall.ps1" target="tools"/>
2323
</files>

Packaging/nuget/GitReleaseManager.nuspec renamed to nuspec/nuget/GitReleaseManager.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
<tags>github release notes create export</tags>
1818
</metadata>
1919
<files>
20-
<file src="..\..\BuildArtifacts\GitReleaseManager.exe" target="tools" />
20+
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\GitReleaseManager.Cli\GitReleaseManager.exe" target="tools" />
2121
</files>
2222
</package>

setup.cake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ var appVeyorProjectSlug = "gitreleasemanager";
4646
// NOTE: Only populate this, if required, but leave as is otherwise.
4747
var dupFinderExcludePattern = new string[] { rootDirectoryPath + "/Source/GitReleaseManager.Tests/*.cs" };
4848

49+
var testCoverageFilter = "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* -[Octokit]* -[YamlDotNet]*";
50+
var testCoverageExcludeByAttribute = "*.ExcludeFromCodeCoverage*";
51+
var testCoverageExcludeByFile = "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs";
52+
4953
///////////////////////////////////////////////////////////////////////////////
5054
// CAKE FILES TO LOAD IN
5155
///////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)