Skip to content

Commit

Permalink
Update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jericho committed Dec 15, 2019
1 parent 5d4d445 commit 2bf506c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion GitVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ branches:
tag: rc
ignore:
sha: []
next-version: 3.0.0
13 changes: 1 addition & 12 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -394,18 +394,7 @@ Task("Generate-Benchmark-Report")
var assemblyLocation = MakeAbsolute(File($"{publishDirectory}{libraryName}.Benchmark.dll")).FullPath;
var artifactsLocation = MakeAbsolute(File(benchmarkDir)).FullPath;
var benchmarkToolLocation = Context.Tools.Resolve("dotnet-benchmark.exe");
var processResult = StartProcess(
benchmarkToolLocation,
new ProcessSettings()
{
Arguments = $"{assemblyLocation} -f * --artifacts={artifactsLocation}"
});
if (processResult != 0)
{
throw new Exception($"dotnet-benchmark.exe did not complete successfully. Result code: {processResult}");
}
DotNetCoreTool(benchmarkProject, "benchmark", $"{assemblyLocation} -f * --artifacts={artifactsLocation}");
});


Expand Down

0 comments on commit 2bf506c

Please sign in to comment.