File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 44:; exit $?
55
66@ ECHO OFF
7-
87powershell -ExecutionPolicy ByPass -NoProfile -File " %~dp0 build.ps1" %*
Original file line number Diff line number Diff line change @@ -8,16 +8,15 @@ Write-Output "PowerShell $($PSVersionTable.PSEdition) version $($PSVersionTable.
88
99Set-StrictMode - Version 2.0 ; $ErrorActionPreference = " Stop" ; $ConfirmPreference = " None" ; trap { Write-Error $_ - ErrorAction Continue ; exit 1 }
1010$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path - Parent
11- $SolutionRoot = (Get-Item $PSScriptRoot ).Parent.Parent.FullName
12- Write-Output $SolutionRoot
11+
1312# ##########################################################################
1413# CONFIGURATION
1514# ##########################################################################
1615
17- $BuildProjectFile = " $SolutionRoot \build\_build.csproj"
18- $TempDirectory = " $SolutionRoot \\.nuke\temp"
16+ $BuildProjectFile = " $PSScriptRoot \build\_build.csproj"
17+ $TempDirectory = " $PSScriptRoot \\.nuke\temp"
1918
20- $DotNetGlobalFile = " $SolutionRoot \\global.json"
19+ $DotNetGlobalFile = " $PSScriptRoot \\global.json"
2120$DotNetInstallUrl = " https://dot.net/v1/dotnet-install.ps1"
2221$DotNetChannel = " STS"
2322
You can’t perform that action at this time.
0 commit comments