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-02 18:04:50 +00:00
|
|
|
# Copy things from environment variables that were sent by the build scripts
|
|
|
|
$Rid = $env:Rid
|
|
|
|
$Tfm = $env:Tfm
|
|
|
|
$OutputDir = $env:OutputDir
|
|
|
|
$Stage1Dir = $env:Stage1Dir
|
|
|
|
$Stage1CompilationDir = $env:Stage1CompilationDir
|
|
|
|
$Stage2Dir = $env:Stage2Dir
|
|
|
|
$Stage2CompilationDir = $env:Stage2CompilationDir
|
|
|
|
$PackageDir = $env:PackageDir
|
|
|
|
$TestBinRoot = $env:TestBinRoot
|
|
|
|
$TestPackageDir = $env:TestPackageDir
|
2016-01-23 20:55:03 +00:00
|
|
|
|
2016-02-02 18:04:50 +00:00
|
|
|
$env:Channel = "$env:RELEASE_SUFFIX"
|
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"
|
2015-12-28 19:47:21 +00:00
|
|
|
setPathAndHomeIfDefault "$Stage2Dir"
|
2016-02-17 03:31:09 +00:00
|
|
|
setVarIfDefault "CONFIGURATION" "Debug"
|