mirror of
https://github.com/inspec/inspec
synced 2024-11-22 20:53:11 +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 .
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue