Skip to content

Commit

Permalink
wip: output pact-message version
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Mar 24, 2018
1 parent aa2aa6d commit 746d81d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/pact.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,14 @@ Add-Type -AssemblyName System.IO.Compression.FileSystem
[System.IO.Compression.ZipFile]::ExtractToDirectory("$zip", $pactDir)

Write-Host " Moving binaries into position"
Get-ChildItem $pactDir/pact
Get-ChildItem $pactDir\pact

Write-Host "--> Adding pact binaries to path"
$env:PATH = "$env:PATH;$pactDir/pact/pact/bin"
$pactBinariesPath = $pactDir\pact\pact\bin
$env:PATH += ";$pactBinariesPath"
Write-Host $env:PATH
Get-ChildItem $pactBinariesPath
pact-message.bat version
pact-message version

Write-Host "--> Running tests"
Expand Down

0 comments on commit 746d81d

Please sign in to comment.