Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit 83781d2

Browse files
committed
--results-directory
1 parent 9644d55 commit 83781d2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Build.ps1

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,11 @@ $artifacts = "..\artifacts"
2626

2727
if(Test-Path $artifacts) { Remove-Item $artifacts -Force -Recurse }
2828

29-
New-Item -Path . -Name $artifacts -ItemType "directory"
30-
31-
$artifacts = Resolve-Path $artifacts
32-
3329
exec { & dotnet clean -c Release }
3430

3531
exec { & dotnet build -c Release }
3632

37-
exec { & dotnet test -c Release -r $artifacts --no-build -l trx --verbosity=normal }
33+
exec { & dotnet test -c Release --results-directory $artifacts --no-build -l trx --verbosity=normal }
3834

3935
exec { & dotnet pack .\src\AutoMapper.Extensions.Microsoft.DependencyInjection\AutoMapper.Extensions.Microsoft.DependencyInjection.csproj -c Release -o $artifacts --no-build }
4036

0 commit comments

Comments
 (0)