Skip to content

Commit

Permalink
Change docker-compose to Powershell and move for easier access
Browse files Browse the repository at this point in the history
  • Loading branch information
pleb committed Jun 6, 2018
1 parent a19600b commit 98e2731
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion PetaPoco.Tests.Docker/ExecuteDockerComposeStop.sh

This file was deleted.

1 change: 0 additions & 1 deletion PetaPoco.Tests.Docker/ExecuteDockerComposeUP.sh

This file was deleted.

12 changes: 12 additions & 0 deletions Start-DockerForIntegrationTests.ps1
Original file line number Diff line number Diff line change
@@ -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 = @(
"up"
)
& $cmdPath $cmdArgList
File renamed without changes.

0 comments on commit 98e2731

Please sign in to comment.