From 3e4f5e9844fb509ed60d9ea75d6835561ae49262 Mon Sep 17 00:00:00 2001 From: Guillaume Caya-Letourneau Date: Tue, 11 Jul 2023 10:24:40 -0400 Subject: [PATCH] Update Build.ps1 (#25) --- Build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build.ps1 b/Build.ps1 index 83b05ee..7185a99 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -22,7 +22,7 @@ Process { Exec { & dotnet clean -c Release } Exec { & dotnet build -c Release } - Exec { & dotnet test -c Release --no-build -r "$outputDir" --no-restore -l "trx" -l "console;verbosity=detailed" } + Exec { & dotnet test -c Release --no-build --results-directory "$outputDir" --no-restore -l "trx" -l "console;verbosity=detailed" } Exec { & dotnet pack -c Release --no-build -o "$outputDir" } if (($null -ne $env:NUGET_SOURCE ) -and ($null -ne $env:NUGET_API_KEY)) { @@ -32,4 +32,4 @@ Process { finally { Pop-Location } -} \ No newline at end of file +}