Skip to content
Snippets Groups Projects
Commit dfbeedf4 authored by dgelessus's avatar dgelessus
Browse files

Delete prob_examples before extracting

So that deleted files don't linger in the build directory.
parent 29a3a666
Branches
Tags
No related merge requests found
......@@ -77,8 +77,13 @@ task downloadPublicExamples(type: Download) {
}
task extractPublicExamples(dependsOn: downloadPublicExamples, type: Copy) {
final outDir = "${buildDir}/prob_examples"
doFirst {
delete(outDir)
}
from tarTree(resources.gzip("${buildDir}/ProB_public_examples.tgz"))
into "${buildDir}/prob_examples"
into outDir
include "public_examples/TLC/**"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment