daiku - make(1) for Perl
> 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)
The target task name to build. If omitted, it builds the task named default.
default
You can specify arguments of the task in brackets.
For example,
> cat Daikufile task test => sub { my ($task, @args) = @_; sh qw(prove -lr), @args; }; > daiku 'test[t/hoge/fuga.t xt/piyo.t]'
Arguments are separated by spaces (NOT commas).
Use the specifiled file as Daikufile.
Change to the specified directory before reading the Daikufile or doing anything else.
Show this help message.
Show Daiku version.
Display tasks.
make(1), rake(1)
Tokuhiro Matsuno <tokuhirom AAJKLFJEF GMAIL COM>
Copyright (C) Tokuhiro Matsuno
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Daiku, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Daiku
CPAN shell
perl -MCPAN -e shell install Daiku
For more information on module installation, please visit the detailed CPAN module installation guide.