132a4bff11
[main] Update dependencies from dotnet/arcade
28 lines
No EOL
571 B
PowerShell
28 lines
No EOL
571 B
PowerShell
[CmdletBinding(PositionalBinding=$false)]
|
|
Param(
|
|
[string] $verbosity = 'minimal',
|
|
[bool] $warnAsError = $true,
|
|
[bool] $nodeReuse = $true,
|
|
[switch] $ci,
|
|
[switch] $prepareMachine,
|
|
[switch] $excludePrereleaseVS,
|
|
[string] $msbuildEngine = $null,
|
|
[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 |