20 lines
		
	
	
		
			627 B
		
	
	
	
		
			PowerShell
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			627 B
		
	
	
	
		
			PowerShell
		
	
	
	
	
	
| #!/usr/bin/env pwsh
 | |
| Set-StrictMode -Version Latest
 | |
| $ErrorActionPreference = "Stop"
 | |
| 
 | |
| $rootDir = Split-Path -Parent $PSCommandPath
 | |
| $rootDir = Join-Path $rootDir ".."
 | |
| $rootDir = Resolve-Path $rootDir
 | |
| 
 | |
| $env:UPDATE_APPLE_FIXTURES = "1"
 | |
| 
 | |
| Push-Location $rootDir
 | |
| try {
 | |
|     $sentinel = Join-Path $rootDir "src/Concelier/__Tests/StellaOps.Concelier.Connector.Vndr.Apple.Tests/Apple/Fixtures/.update-apple-fixtures"
 | |
|     New-Item -ItemType File -Path $sentinel -Force | Out-Null
 | |
|     dotnet test "src\StellaOps.Concelier.Connector.Vndr.Apple.Tests\StellaOps.Concelier.Connector.Vndr.Apple.Tests.csproj" @Args
 | |
| }
 | |
| finally {
 | |
|     Pop-Location
 | |
| }
 |