Creates a step for mutating files inside a temporary directory created lazily and automatically cleaned up upon successful build.
The directory will be placed inside "tmp" rather than "o", and caching will
be skipped. During the make phase, the step will always do all the file
system operations, and on successful build completion, the dir will be
deleted along with all other tmp directories. The directory is therefore
eligible to be used for mutations by other steps.
See also:
addWriteFilesaddMutateFilespub fn addTempFiles(b: *Build) *Step.WriteFile
pub fn addTempFiles(b: *Build) *Step.WriteFile {
const wf = addWriteFiles(b);
wf.mode = .tmp;
return wf;
}