7011f9e604
Some package_tool fixes
23 lines
802 B
PowerShell
23 lines
802 B
PowerShell
#
|
|
# 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.
|
|
#
|
|
|
|
. $PSScriptRoot\_utility.ps1
|
|
|
|
$Rid = "win7-x64"
|
|
$Tfm = "dnxcore50"
|
|
$RepoRoot = Convert-Path "$PSScriptRoot\..\.."
|
|
$OutputDir = "$RepoRoot\artifacts\$Rid"
|
|
$DnxDir = "$OutputDir\dnx"
|
|
$DnxRoot = "$DnxDir\bin"
|
|
$Stage1Dir = "$OutputDir\stage1"
|
|
$Stage2Dir = "$OutputDir\stage2"
|
|
$HostDir = "$OutputDir\corehost"
|
|
$PackageDir = "$RepoRoot\artifacts\packages\dnvm"
|
|
|
|
# Set reasonable defaults for unset variables
|
|
setEnvIfDefault "DOTNET_INSTALL_DIR" "$(Convert-Path "$PSScriptRoot\..")\.dotnet_stage0\win7-x64"
|
|
setEnvIfDefault "DOTNET_CLI_VERSION" "0.1.0.0"
|
|
setPathAndHomeIfDefault "$Stage2Dir"
|
|
setVarIfDefault "Configuration" "Debug"
|