1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/usr/bin/env perl
use strict;
use warnings;
use Module::Build;
my $build = Module::Build->subclass(
code => q(
sub ACTION_testauthor { shift->generic_task(type => 'author') }
)
)->new(
build_requires => {
'Test::More' => 0,
'Test::Compile' => 0,
'Test::Pod' => 0,
'Test::Command' => 0,
},
dist_name => 'icli',
dist_version_from => 'bin/icli',
license => 'unrestricted',
requires => {
'perl' => '5.10.0',
'autodie' => 0,
'Carp' => 0,
'Date::Format' => 0,
'Getopt::Long' => 0,
'List::MoreUtils' => 0,
'Term::ANSIColor' => 0,
'Term::Size' => 0,
},
script_files => 'bin/',
test_types => {
author => '.at',
},
);
$build->create_build_script();
|