75d9dc5f28
* Update dependencies from https://github.com/dotnet/arcade build 20200421.14 - Microsoft.DotNet.Arcade.Sdk: 5.0.0-beta.20201.2 -> 5.0.0-beta.20221.14 * Update arcade and add dotnet-tools feed Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
26 lines
504 B
PowerShell
26 lines
504 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
|