sbt/project
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
..
DatatypeConfig.scala fix: Set contrabandScala3enum to false 2025-09-28 21:28:06 -04:00
Dependencies.scala [2.x] Remove unused code in project/Dependencies.scala (#8522) 2026-01-13 18:43:08 -05:00
Docs.scala update scalafmt config. re-format build files 2025-09-23 10:28:38 +09:00
HouseRulesPlugin.scala [2.x] test: Migrate TrackedSpec.scala to verify.BasicTestSuite (#8547) 2026-01-15 22:51:29 -05:00
Mima.scala Update mimaPreviousArtifacts and mimaBinaryIssueFilters 2026-01-12 10:31:21 +09:00
NightlyPlugin.scala update scalafmt config. re-format build files 2025-09-23 10:28:38 +09:00
PackageSignerPlugin.scala [2.x] ci: Integrate launcher package (#8485) 2026-01-11 20:57:59 -05:00
PublishBinPlugin.scala [2.x] Update project/PublishBinPlugin.scala (#8498) 2026-01-12 16:20:23 -05:00
SbtLauncherPlugin.scala update scalafmt config. re-format build files 2025-09-23 10:28:38 +09:00
SbtScriptedIT.scala in-source sbt-houserules 2019-10-19 19:53:11 -04:00
Scripted.scala [2.x] feat: Add scriptedKeepTempDirectory setting (#8621) 2026-01-23 21:22:50 -05:00
Transform.scala refactor: Add parentheses to PathFinder.get (#8497) 2026-01-12 15:19:40 -05:00
Utils.scala refactor: Add parentheses to PathFinder.get (#8497) 2026-01-12 15:19:40 -05:00
build.properties update dependencies 2025-10-03 09:22:19 +09:00
flamegraph.png docs: Update flamegraph guide 2025-11-09 17:06:13 -05:00
plugins.sbt Update sbt plugins (#8496) 2026-01-12 15:19:07 -05:00