[JS IC] Delete only PIR related part of IC Cache, not the whole dir
This commit is contained in:
committed by
TeamCityServer
parent
03b66ab51e
commit
4ad2572085
@@ -46,7 +46,8 @@ fun buildCache(
|
|||||||
}
|
}
|
||||||
|
|
||||||
val icDir = File(cachePath)
|
val icDir = File(cachePath)
|
||||||
icDir.deleteRecursively()
|
icDir.listFiles { file: File -> file.name.startsWith("ic-") }!!.forEach { it.deleteRecursively() }
|
||||||
|
File(icDir, "info").delete()
|
||||||
icDir.mkdirs()
|
icDir.mkdirs()
|
||||||
|
|
||||||
val icData = prepareSingleLibraryIcCache(project, configuration, mainModule.libPath, dependencies, friendDependencies, exportedDeclarations, icCache.data)
|
val icData = prepareSingleLibraryIcCache(project, configuration, mainModule.libPath, dependencies, friendDependencies, exportedDeclarations, icCache.data)
|
||||||
|
|||||||
Reference in New Issue
Block a user