use $project_root in powershell

Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
Miah Johnson 2019-10-22 12:23:31 -07:00
parent d4badc6ad3
commit 388f761720

View file

@ -24,13 +24,11 @@ Set-Location $project_root
$env:DO_CHECK=$true; hab pkg build .
if (-not $?) { throw "unable to build" }
ls ./results
. ./results/last_build.ps1
. $project_root/results/last_build.ps1
if (-not $?) { throw "unable to determine details about this build" }
Write-Host "--- Installing $pkg_ident"
hab pkg install ./results/$pkg_artifact
hab pkg install $project_root/results/$pkg_artifact
if (-not $?) { throw "unable to install this build" }
Write-Host "+++ Testing $Plan"