Welcome to mirror list, hosted at ThFree Co, Russian Federation.

build.ps1 « eng - github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5305b8fdc1e78d117920133fa947bf837ef9c797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[CmdletBinding(PositionalBinding=$false)]
Param(
  [switch] $integrationTest,
  [Parameter(ValueFromRemainingArguments=$true)][String[]]$remaining
)

. (Join-Path $PSScriptRoot "common/tools.ps1")

$args = $remaining.Clone()

if ($integrationTest) {
    dotnet build (Join-Path $PSScriptRoot bootstrap.proj)
    $args += "-integrationTest"
    $args += "/p:BootstrapBuildPath=$ArtifactsDir/bootstrap"
}

powershell -ExecutionPolicy ByPass -NoProfile (Join-Path $PSScriptRoot "common/build.ps1") @args