create
Function parameters
Parameters
- owner:*std.Build
Type definitions in this namespace
Types
Functions in this namespace
Functions
- addCopyFileToSource
- A path relative to the package root.
- addBytesToSource
- A path relative to the package root.
= .update_source_files
Values
- base_id
- = .update_source_files
Source
Implementation
pub fn create(owner: *std.Build) *UpdateSourceFiles {
const usf = owner.allocator.create(UpdateSourceFiles) catch @panic("OOM");
usf.* = .{
.step = Step.init(.{
.id = base_id,
.name = "UpdateSourceFiles",
.owner = owner,
.makeFn = make,
}),
.output_source_files = .{},
};
return usf;
}