Skip to content

Commit

Permalink
Fixed dockerClean (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
dolgopolovwork authored May 30, 2019
1 parent a74d18d commit 5868918
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,10 @@ class DockerPlugin implements Plugin<Project> {
project.tasks.register(SoraTask.dockerClean).configure { Task t ->
t.group = DOCKER_TASK_GROUP
t.description = "Clean docker context dir"

getDockerContextDir(project).deleteDir()
t.doLast {
println(format('clean docker context dir'))
getDockerContextDir(project).deleteDir()
}
}
}

Expand Down

0 comments on commit 5868918

Please sign in to comment.