Skip to content

Commit

Permalink
Additional fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BernieWhite committed Oct 24, 2023
1 parent e73685e commit 303a657
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ task TestModule Dependencies, {

task Benchmark {
if ($Benchmark -or $BuildTask -eq 'Benchmark') {
dotnet run -p src/PSDocs.Benchmark -f net7.0 -c Release -- benchmark --output $PWD;
dotnet run --project src/PSDocs.Benchmark -f net7.0 -c Release -- benchmark --output $PWD;
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/PSDocs.Benchmark/PSDocs.Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.3.8" />
</ItemGroup>

<ItemGroup Condition="'$(OS)' != 'Windows_NT'">
<PackageReference Include="BenchmarkDotNet" Version="0.13.9" />
</ItemGroup>

<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.13.9" />
</ItemGroup>
Expand Down

0 comments on commit 303a657

Please sign in to comment.