Skip to content
Permalink
Browse files
Add Stop-DockerForIntegrationTests.ps1 script
  • Loading branch information
pleb committed Jun 6, 2018
1 parent a968eca commit acf468a80e648f7c70fd1ef79f68c5f63609e456
Showing with 12 additions and 0 deletions.
  1. +12 −0 Stop-DockerForIntegrationTests.ps1
@@ -0,0 +1,12 @@
$ErrorActionPreference = "Stop"

if ((Get-Command "docker-compose.exe" -ErrorAction SilentlyContinue) -eq $null) {
Write-Host -Object "Docker is not installed. Please install docker before running again" -ForegroundColor "Red"
exit 1
}

$cmdPath = "docker-compose.exe"
$cmdArgList = @(
"down"
)
& $cmdPath $cmdArgList

0 comments on commit acf468a

Please sign in to comment.