Skip to content

Commit 9a01d63

Browse files
committed
build: repaired build scripts
1 parent 6896a06 commit 9a01d63

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

build.cmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
:; exit $?
55

66
@ECHO OFF
7-
87
powershell -ExecutionPolicy ByPass -NoProfile -File "%~dp0build.ps1" %*
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,15 @@ Write-Output "PowerShell $($PSVersionTable.PSEdition) version $($PSVersionTable.
88

99
Set-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

0 commit comments

Comments
 (0)