Skip to content

Commit 480f62c

Browse files
authored
Move launcher-specific cache files into out/mill-launcher/ folder to tidy up out/ folder root (#5377)
1 parent 974eb64 commit 480f62c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runner/launcher/src/mill/launcher/MillProcessLauncher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static List<String> loadMillConfig(String key) throws Exception {
113113
Path buildFile = Paths.get(rootBuildFileName);
114114
if (Files.exists(buildFile)) {
115115
String[] config = cachedComputedValue(
116-
"yaml-config-" + key,
116+
key,
117117
mill.constants.Util.readBuildHeader(
118118
buildFile, buildFile.getFileName().toString()),
119119
() -> {
@@ -249,7 +249,7 @@ static String[] cachedComputedValue(String name, String key, Supplier<String[]>
249249
static String[] cachedComputedValue0(
250250
String name, String key, Supplier<String[]> block, Function<String[], Boolean> validate) {
251251
try {
252-
Path cacheFile = Paths.get(".").resolve(out).resolve("mill-" + name);
252+
Path cacheFile = Paths.get(".").resolve(out).resolve("mill-launcher/" + name);
253253
String[] value = null;
254254
if (Files.exists(cacheFile)) {
255255
String[] savedInfo = Files.readString(cacheFile).split("\n");

0 commit comments

Comments
 (0)