-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBuild.PL
57 lines (48 loc) · 1.19 KB
/
Build.PL
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
use strict;
use warnings;
use Module::Build;
# -----------------------------------------------
my $class = Module::Build->subclass(code => <<'EOF');
sub ACTION_authortest
{
my($self) = @_;
$self->depends_on('build');
$self->depends_on('manifest');
$self->depends_on('distmeta');
$self->test_files( qw< t xt/author > );
$self->recursive_test_files(1);
$self->depends_on('test');
return;
}
EOF
$class -> new
(
module_name => 'HTML::Parser::Simple',
license => 'artistic_2',
dist_abstract => 'Parse nice HTML files without needing a compiler',
dist_author => 'Ron Savage <[email protected]>',
build_requires =>
{
'Test::More' => 0,
# 'Test::Pod' => 1.45, # Make it optional. See t/pod.t
},
configure_requires =>
{
'Module::Build' => 0.36,
},
requires =>
{
'File::Spec' => 0,
'lib' => 0,
'Moo' => 1.003001,
'strict' => 0,
'Tree::Simple' => 1.22,
'warnings' => 0,
},
resources =>
{
bugtracker => 'https://rt.cpan.org/Public/Dist/Display.html?Name=HTML-Parser-Simple',
license => 'http://opensource.org/licenses/Artistic-2.0',
repository => 'https://github.com/ronsavage/HTML-Parser-Simple',
},
) -> create_build_script();