Skip to content

Commit

Permalink
(build) Always run GitVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
gep13 committed May 19, 2018
1 parent 9301a29 commit 31271cc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions setup.cake
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@

Environment.SetVariableNames();

BuildParameters.SetParameters(context: Context,
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./Source",
title: "GitReleaseManager",
repositoryOwner: "GitTools",
repositoryName: "GitReleaseManager",
appVeyorAccountName: "GitTools",
testFilePattern: "/**/*.Tests.dll");
testFilePattern: "/**/*.Tests.dll",
shouldRunGitVersion: true);

BuildParameters.PrintParameters(Context);

ToolSettings.SetToolSettings(context: Context,
dupFinderExcludePattern: new string[] {
dupFinderExcludePattern: new string[] {
BuildParameters.RootDirectoryPath + "/Source/GitReleaseManager.Tests/*.cs" },
testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* -[Octokit]* -[YamlDotNet]*",
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
Build.Run();
Build.Run();

0 comments on commit 31271cc

Please sign in to comment.