sbt/scripted-sbt
bitloi f8704752e0
[2.x] feat: Add scriptedKeepTempDirectory setting (#8621)
**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
```
2026-01-23 21:22:50 -05:00
..
src/main/scala/sbt/scriptedtest [2.x] feat: Add scriptedKeepTempDirectory setting (#8621) 2026-01-23 21:22:50 -05:00
NOTICE refactor: Move scripted-sbt-redux back to scripted-sbt 2024-09-15 01:58:23 -04:00