td.Build.Step.InstallDir: leave hint for wrong cached status

Since I spent a couple minutes debugging this, hopefully this saves
someone some future trouble doing the same.
This commit is contained in:
Andrew Kelley
2024-07-10 00:42:41 -07:00
parent 61d2234743
commit 5c3fae3a32

View File

@@ -99,6 +99,7 @@ fn make(step: *Step, prog_node: std.Progress.Node) !void {
const subdir_path = try src_dir_path.join(arena, entry.path);
try step.addDirectoryWatchInputFromPath(subdir_path);
try cwd.makePath(dest_path);
// TODO: set result_cached=false if the directory did not already exist.
},
.file => {
for (install_dir.options.blank_extensions) |ext| {