49ff9e1768
- Microsoft.DotNet.Arcade.Sdk: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
26 lines
No EOL
503 B
PowerShell
26 lines
No EOL
503 B
PowerShell
[CmdletBinding(PositionalBinding=$false)]
|
|
Param(
|
|
[string] $verbosity = 'minimal',
|
|
[bool] $warnAsError = $true,
|
|
[bool] $nodeReuse = $true,
|
|
[switch] $ci,
|
|
[switch] $prepareMachine,
|
|
[Parameter(ValueFromRemainingArguments=$true)][String[]]$extraArgs
|
|
)
|
|
|
|
. $PSScriptRoot\tools.ps1
|
|
|
|
try {
|
|
if ($ci) {
|
|
$nodeReuse = $false
|
|
}
|
|
|
|
MSBuild @extraArgs
|
|
}
|
|
catch {
|
|
Write-Host $_.ScriptStackTrace
|
|
Write-PipelineTelemetryError -Category 'Build' -Message $_
|
|
ExitWithExitCode 1
|
|
}
|
|
|
|
ExitWithExitCode 0 |