2015-11-16 19:21:57 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
|
|
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
#
|
|
|
|
|
2015-12-28 19:47:21 +00:00
|
|
|
. $PSScriptRoot\_utility.ps1
|
|
|
|
|
2016-02-09 23:07:36 +00:00
|
|
|
$Skip_Crossgen = $false
|
2015-11-11 01:30:01 +00:00
|
|
|
$Rid = "win7-x64"
|
|
|
|
$Tfm = "dnxcore50"
|
2016-01-24 09:04:39 +00:00
|
|
|
$RepoRoot = Resolve-Path "$PSScriptRoot\..\.."
|
2015-11-11 01:30:01 +00:00
|
|
|
$OutputDir = "$RepoRoot\artifacts\$Rid"
|
|
|
|
$Stage1Dir = "$OutputDir\stage1"
|
2016-01-21 23:01:21 +00:00
|
|
|
$Stage1CompilationDir = "$OutputDir\stage1compilation"
|
2015-11-11 01:30:01 +00:00
|
|
|
$Stage2Dir = "$OutputDir\stage2"
|
2016-01-21 23:01:21 +00:00
|
|
|
$Stage2CompilationDir = "$OutputDir\stage2compilation"
|
2015-11-11 01:30:01 +00:00
|
|
|
$HostDir = "$OutputDir\corehost"
|
|
|
|
$PackageDir = "$RepoRoot\artifacts\packages\dnvm"
|
2016-01-23 20:55:03 +00:00
|
|
|
$TestBinRoot = "$RepoRoot\artifacts\tests"
|
|
|
|
$TestPackageDir = "$TestBinRoot\packages"
|
|
|
|
|
2016-02-02 20:24:23 +00:00
|
|
|
$env:TEST_ROOT = "$OutputDir\tests"
|
|
|
|
$env:TEST_ARTIFACTS = "$env:TEST_ROOT\artifacts"
|
|
|
|
|
2016-01-21 02:49:47 +00:00
|
|
|
$env:ReleaseSuffix = "beta"
|
|
|
|
$env:Channel = "$env:ReleaseSuffix"
|
2015-11-11 01:30:01 +00:00
|
|
|
|
2015-12-28 19:47:21 +00:00
|
|
|
# Set reasonable defaults for unset variables
|
2016-02-09 23:07:36 +00:00
|
|
|
setEnvIfDefault "DOTNET_INSTALL_DIR" "$RepoRoot\.dotnet_stage0\win7-x64"
|
2016-01-12 23:27:02 +00:00
|
|
|
setEnvIfDefault "DOTNET_CLI_VERSION" "0.1.0.0"
|
2016-02-09 23:07:36 +00:00
|
|
|
setEnvIfDefault "SKIP_CROSSGEN" "$Skip_Crossgen"
|
2015-12-28 19:47:21 +00:00
|
|
|
setPathAndHomeIfDefault "$Stage2Dir"
|
2016-01-06 10:27:16 +00:00
|
|
|
setVarIfDefault "Configuration" "Debug"
|
2016-01-23 20:55:03 +00:00
|
|
|
|
|
|
|
# Common Files which depend on above properties
|
|
|
|
. $PSScriptRoot\_nuget.ps1
|
|
|
|
. $PSScriptRoot\_configuration.ps1
|