forked from Azure/azure-batch-software-entitlement
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsestest.ps1
More file actions
21 lines (16 loc) · 703 Bytes
/
sestest.ps1
File metadata and controls
21 lines (16 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# Convenience Launcher for sestest
#
# Find the latest version of sestest that was compiled
# [This will automatically find the right version, even if someone does a release
# build or if the output path changes e.g. becuase it's no longer netcoreapp2.0]
$sestest = get-childitem $PSScriptRoot\out\sestest\sestest.dll -recurse | sort-object LastWriteTimeUtc | select-object -last 1
if ($sestest -eq $null)
{
Write-Host "Could not find 'sestest.dll' within $PSScriptRoot\out" -ForegroundColor Red
Write-Host "Do you need to run a build?" -ForegroundColor Yellow
exit -1
}
# Uncomment this line to show which exe is being run
# Write-Output "Launching $sestest"
dotnet $sestest $args