Skip to content

Commit

Permalink
Merge pull request #9821 from dotnet/merges/master-to-feature/tasks
Browse files Browse the repository at this point in the history
Merge master to feature/tasks
  • Loading branch information
KevinRansom authored Jul 29, 2020
2 parents abd5adf + 5ee787b commit 287f32a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions eng/Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ param (
[string]$bootstrapConfiguration = "Proto",
[string]$bootstrapTfm = "net472",
[switch][Alias('bl')]$binaryLog,
[switch][Alias('nobl')]$excludeCIBinaryLog,
[switch]$ci,
[switch]$official,
[switch]$procdump,
Expand Down Expand Up @@ -69,6 +70,7 @@ function Print-Usage() {
Write-Host " -verbosity <value> Msbuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]"
Write-Host " -deployExtensions Deploy built vsixes"
Write-Host " -binaryLog Create MSBuild binary log (short: -bl)"
Write-Host " -excludeCIBinaryLog When running on CI, allow no binary log (short: -nobl)"
Write-Host ""
Write-Host "Actions:"
Write-Host " -restore Restore packages (short: -r)"
Expand Down Expand Up @@ -173,7 +175,12 @@ function BuildSolution() {

Write-Host "$($solution):"

if ($binaryLog -and $excludeCIBinaryLog) {
Write-Host "Invalid argument -binarylog(-bl) and -excludeCIBinaryLog(-nobl) cannot be set at the same time"
ExitWithExitCode 1
}
$bl = if ($binaryLog) { "/bl:" + (Join-Path $LogDir "Build.binlog") } else { "" }

$projects = Join-Path $RepoRoot $solution
$officialBuildId = if ($official) { $env:BUILD_BUILDNUMBER } else { "" }
$toolsetBuildProj = InitializeToolset
Expand Down

0 comments on commit 287f32a

Please sign in to comment.