Remove the copy of testLibrary.klib in build/ so that we don't link two copies
This commit is contained in:
committed by
alexander-gorshenev
parent
127ba155c7
commit
9e652a61ce
@@ -127,6 +127,12 @@ task installTestLibrary(type: KlibInstall) {
|
||||
dependsOn compileKonanTestLibraryHost
|
||||
klib = konanArtifacts.testLibrary.getArtifactByTarget('host')
|
||||
repo = rootProject.file(testLibraryDir)
|
||||
|
||||
doLast {
|
||||
// Remove the version in build/, so that we don't link two copies.
|
||||
def file = project.file("build/konan/libs/${project.target.name}/testLibrary.klib")
|
||||
file.delete()
|
||||
}
|
||||
}
|
||||
|
||||
// Gets tests from the same Kotlin compiler build
|
||||
|
||||
Reference in New Issue
Block a user