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