Function addWriteFile [src]
Prototype
pub fn addWriteFile(b: *Build, file_path: []const u8, data: []const u8) *Step.WriteFile
Parameters
b: *Build
file_path: []const u8
data: []const u8
Source
pub fn addWriteFile(b: *Build, file_path: []const u8, data: []const u8) *Step.WriteFile {
const write_file_step = b.addWriteFiles();
_ = write_file_step.add(file_path, data);
return write_file_step;
}