1. 首页
  2. 考试认证
  3. 其它
  4. Daiku只读发布历史

Daiku只读发布历史

上传者: 2024-12-29 14:26:22上传 ZIP文件 34.01KB 热度 2次

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,通过命令行执行任务。

下载地址
用户评论