From 9e4641a9ff9d2565a98a6e2f8e6c12d408baf6e7 Mon Sep 17 00:00:00 2001 From: franz Date: Mon, 18 Nov 2019 12:30:50 +0000 Subject: [PATCH] fix(#28): "rh" executable fix fix(#28): "rh" executable lives in the "tools" subfolder. --- Build.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Build.ps1 b/Build.ps1 index f482841..d3f9acc 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -31,9 +31,9 @@ $suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch $commitHash = $(git rev-parse --short HEAD) $buildSuffix = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""] -exec { & rh /d=ContosoUniversityDotNetCore-Pages /f=ContosoUniversity\App_Data /s="(LocalDb)\mssqllocaldb" /silent } -exec { & rh /d=ContosoUniversityDotNetCore-Pages-Test /f=ContosoUniversity\App_Data /s="(LocalDb)\mssqllocaldb" /silent /drop } -exec { & rh /d=ContosoUniversityDotNetCore-Pages-Test /f=ContosoUniversity\App_Data /s="(LocalDb)\mssqllocaldb" /silent /simple } +exec { & .\tools\rh /d=ContosoUniversityDotNetCore-Pages /f=ContosoUniversity\App_Data /s="(LocalDb)\mssqllocaldb" /silent } +exec { & .\tools\rh /d=ContosoUniversityDotNetCore-Pages-Test /f=ContosoUniversity\App_Data /s="(LocalDb)\mssqllocaldb" /silent /drop } +exec { & .\tools\rh /d=ContosoUniversityDotNetCore-Pages-Test /f=ContosoUniversity\App_Data /s="(LocalDb)\mssqllocaldb" /silent /simple } exec { & dotnet restore }