mirror of
https://github.com/inspec/inspec
synced 2025-02-16 22:18:38 +00:00
use $project_root in powershell
Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
parent
d4badc6ad3
commit
388f761720
1 changed files with 2 additions and 4 deletions
|
@ -24,13 +24,11 @@ Set-Location $project_root
|
||||||
$env:DO_CHECK=$true; hab pkg build .
|
$env:DO_CHECK=$true; hab pkg build .
|
||||||
if (-not $?) { throw "unable to build" }
|
if (-not $?) { throw "unable to build" }
|
||||||
|
|
||||||
ls ./results
|
. $project_root/results/last_build.ps1
|
||||||
|
|
||||||
. ./results/last_build.ps1
|
|
||||||
if (-not $?) { throw "unable to determine details about this build" }
|
if (-not $?) { throw "unable to determine details about this build" }
|
||||||
|
|
||||||
Write-Host "--- Installing $pkg_ident"
|
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" }
|
if (-not $?) { throw "unable to install this build" }
|
||||||
|
|
||||||
Write-Host "+++ Testing $Plan"
|
Write-Host "+++ Testing $Plan"
|
||||||
|
|
Loading…
Add table
Reference in a new issue