The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Daiku::File - file creation rule

DESCRIPTION

This is a file creation rule object for Daiku

ATTRIBUTES

dst:Str

Destination file name

deps:ArrayRef[Str]

Dependency file names.

code:CodeRef

Callback function.

METHODS

my $file = Daiku::File->new(%args);

Create a new instance of Daiku::File. Specify above attributes in %args.

$file->build();

Build the target.

Return Value: The number of built jobs.

$file->match($name) :Bool