Delete bootDirectory in cleanFull

This commit is contained in:
xuwei-k 2026-04-11 08:43:37 +09:00
parent f8a8742dbe
commit bbd24b5d44
1 changed files with 7 additions and 0 deletions

View File

@ -226,6 +226,13 @@ private[sbt] object Clean {
case d: DiskActionCacheStore => d.clear()
case _ => ()
IO.delete(outputDirectory.toFile())
IO.delete(
s.configuration
.provider()
.scalaProvider()
.launcher()
.bootDirectory()
)
s
Command.command(CleanFull, h)(expunge andThen clearCachesFun)
}