Daiku只读发布历史
Daiku:Daiku的只读发布历史
名称:Daiku-为Perl制作
概述:
#! perl
use Daiku;
use autodie ':all';
desc 'do all tasks';
task 'all' => 'foo';
file 'foo' => 'foo.o' => sub {
system "gcc -c foo foo.o";
};
rule '.o' => '.c' => sub {
system "gcc -c foo.o foo.c";
};
build shift @ARGV || 'all';
Daiku是Perl5的另一个构建系统。
使用指南:
通过在Perl脚本中声明use Daiku
,可以使用该构建系统提供的DSL来编写构建过程。
命令行工具支持Daikufile,类似于make
读取Makefile
,通过命令行执行任务。
下载地址
用户评论