Skip to content
Snippets Groups Projects
Commit 81e73915 authored by Nikolaus Krismer's avatar Nikolaus Krismer
Browse files

added gradle task cleanAfterDaily

fixed some dependencies
parent 66417cdf
No related branches found
No related tags found
No related merge requests found
...@@ -275,6 +275,10 @@ task cleanAfterDaily(type: Delete) { ...@@ -275,6 +275,10 @@ task cleanAfterDaily(type: Delete) {
delete "$buildDir/tmp" delete "$buildDir/tmp"
} }
task cleanNodeModules(type: Delete) {
delete files('node_modules')
}
task cleanTestResults(type: Delete) { task cleanTestResults(type: Delete) {
// We only need the test reports... not the binary results // We only need the test reports... not the binary results
delete project.testResultsDir delete project.testResultsDir
...@@ -342,6 +346,8 @@ task vagrantPrepare << { ...@@ -342,6 +346,8 @@ task vagrantPrepare << {
// task dependencies // task dependencies
tasks.cleanAfterDaily.dependsOn cleanNodeModules
tasks.daily.finalizedBy cleanAfterDaily
tasks.test.finalizedBy cleanTestResults tasks.test.finalizedBy cleanTestResults
tasks.vagrantUp.dependsOn vagrantPrepare tasks.vagrantUp.dependsOn vagrantPrepare
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment