Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
Signed-off-by: georgi-l95 <[email protected]>
  • Loading branch information
georgi-l95 committed Dec 17, 2024
1 parent d835eb6 commit 72a5eb0
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions simulator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -99,29 +99,19 @@ tasks.register("startSimulatorDockerContainers") {

doLast {
// Make the prepare and cleanup scripts executable
exec {
commandLine("chmod", "+x", "docker/prepare-docker.sh", "docker/cleanup-docker.sh")
}
exec { commandLine("chmod", "+x", "docker/prepare-docker.sh", "docker/cleanup-docker.sh") }

// Run the prepare script
exec {
commandLine("./docker/prepare-docker.sh")
}
exec { commandLine("./docker/prepare-docker.sh") }

// Change to docker directory and run docker-compose
exec {
workingDir("docker")
commandLine(
"sh",
"-c",
"docker compose -p simulator up --build -d"
)
commandLine("sh", "-c", "docker compose -p simulator up --build -d")
}

// Run cleanup script
exec {
commandLine("./docker/cleanup-docker.sh")
}
exec { commandLine("./docker/cleanup-docker.sh") }

println("✅ Docker simulator is now running!")
println("🧹 Build artifacts have been cleaned up")
Expand Down

0 comments on commit 72a5eb0

Please sign in to comment.