mirror of https://github.com/sbt/sbt.git
**Problem** When running scripted tests to debug sbt plugins, the temporary directories (`/private/var/folder/...`) are automatically deleted after tests complete. This makes it difficult to inspect the test state for debugging purposes, requiring workarounds like adding `$ pause` commands and manually copying directories. **Solution** Added a new `scriptedKeepTempDirectory` setting that allows users to preserve temporary directories after scripted tests complete. When enabled, the temporary directory path is logged so users can inspect it. Usage: ```scala scriptedKeepTempDirectory := true ``` |
||
|---|---|---|
| .. | ||
| DatatypeConfig.scala | ||
| Dependencies.scala | ||
| Docs.scala | ||
| HouseRulesPlugin.scala | ||
| Mima.scala | ||
| NightlyPlugin.scala | ||
| PackageSignerPlugin.scala | ||
| PublishBinPlugin.scala | ||
| SbtLauncherPlugin.scala | ||
| SbtScriptedIT.scala | ||
| Scripted.scala | ||
| Transform.scala | ||
| Utils.scala | ||
| build.properties | ||
| flamegraph.png | ||
| plugins.sbt | ||