NAME
daiku - make(1) for Perl
SYNOPSIS
> cat Daikufile
task 'all' => 'foo';
file 'foo' => 'foo.o' => sub {
system "gcc -o foo foo.o";
};
rule '.o' => '.c' => sub {
my ($engine, $dist, $src) = @_;
system "gcc -c $src -o $dist";
};
> daiku all
[LOG] Building Task: all
[LOG] Processing file: foo
[LOG] Building SuffixRule: foo.o
[LOG] Building rule: foo.o
[LOG] Building file: foo(0)
ARGUMENTS
- target
- target[arg1 arg2]
-
You can specify arguments of the task by bracket following in rake way. However arguments of daiku task is separated by spaces like traditional command line (Arguments of rake task is separated by comma).
OPTIONS
- -f, --file
-
Use specifiled file as Daikufile.
- -C, --direcotry
-
Change to specified directory before reading the Daikufile or doing anything else.
- -h, --help
-
Show this help message.
- -v, --version
-
Show Daiku version.
- -T, --tasks
-
Display tasks.
SEE ALSO
make(1), rake(1)
AUTHOR
Tokuhiro Matsuno <tokuhirom AAJKLFJEF GMAIL COM>
LICENSE
Copyright (C) Tokuhiro Matsuno
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.