cppClean task should remove old cppdistribution contents

The `git clean` we used to do at the beginning of the build used to take
care of this, but due to long paths on Windows we can no longer use this

Original commit: elastic/x-pack-elasticsearch@3210c7507b
This commit is contained in:
David Roberts 2016-11-18 13:44:41 +00:00
parent a77f6df3f2
commit 85b5220c59
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ project.ext.numCpus = Runtime.runtime.availableProcessors()
task cppClean(type: Exec) {
commandLine bash
args '-c', 'source cpp/set_env.sh && ' + make + ' clean'
args '-c', 'source cpp/set_env.sh && rm -rf cppdistribution && ' + make + ' clean'
}
task cppObjCompile(type: Exec) {