File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed
Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
1616$BuildProjectFile = " $PSScriptRoot \Build\Nuke\NukeBuild.csproj"
1717$TempDirectory = " $PSScriptRoot \\.tmp"
1818
19- $DotNetGlobalFile = " PSScriptRoot\Build\Nuke \global.json"
19+ $DotNetGlobalFile = " $ PSScriptRoot \\global.json"
2020$DotNetInstallUrl = " https://dot.net/v1/dotnet-install.ps1"
2121$DotNetChannel = " Current"
2222
@@ -32,10 +32,6 @@ function ExecSafe([scriptblock] $cmd) {
3232 if ($LASTEXITCODE ) { exit $LASTEXITCODE }
3333}
3434
35-
36- # Print environment variables
37- Get-Item - Path Env:* | Sort-Object - Property Name | ForEach-Object {" {0}={1}" -f $_.Name , $_.Value }
38-
3935# If global.json exists, load expected version
4036if (Test-Path $DotNetGlobalFile ) {
4137 $DotNetGlobal = $ (Get-Content $DotNetGlobalFile | Out-String | ConvertFrom-Json )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ SCRIPT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
1212BUILD_PROJECT_FILE=" $SCRIPT_DIR /Build/Nuke/NukeBuild.csproj"
1313TEMP_DIRECTORY=" $SCRIPT_DIR //.tmp"
1414
15- DOTNET_GLOBAL_FILE=" $SCRIPT_DIR /Build/Nuke /global.json"
15+ DOTNET_GLOBAL_FILE=" $SCRIPT_DIR //global.json"
1616DOTNET_INSTALL_URL=" https://dot.net/v1/dotnet-install.sh"
1717DOTNET_CHANNEL=" Current"
1818
You can’t perform that action at this time.
0 commit comments