Added the CPAN distribution metadata to Makefile.PL and Build.PL.
This commit is contained in:
parent
b67d72163c
commit
9e28256635
15
Build.PL
15
Build.PL
@ -16,6 +16,21 @@ my $build = Module::Build->new(
|
||||
"Module::Signature" => 0,
|
||||
"Test::Pod" => 0,
|
||||
},
|
||||
|
||||
meta_merge => {
|
||||
"meta-spec" => { version => 2 },
|
||||
resources => {
|
||||
homepage => "https://metacpan.org/release/Acme-GuessNumber",
|
||||
repository => {
|
||||
type => "git",
|
||||
url => "git://github.com/imacat/Acme-GuessNumber.git",
|
||||
web => "https://github.com/imacat/Acme-GuessNumber",
|
||||
},
|
||||
bugtracker => {
|
||||
"web" => "https://github.com/imacat/Acme-GuessNumber/issues"
|
||||
}
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
$build->create_build_script;
|
||||
|
15
Makefile.PL
15
Makefile.PL
@ -18,6 +18,21 @@ WriteMakefile(
|
||||
COMPRESS => "gzip -9",
|
||||
SUFFIX => ".gz",
|
||||
},
|
||||
|
||||
META_MERGE => {
|
||||
"meta-spec" => { version => 2 },
|
||||
resources => {
|
||||
homepage => "https://metacpan.org/release/Acme-GuessNumber",
|
||||
repository => {
|
||||
type => "git",
|
||||
url => "git://github.com/imacat/Acme-GuessNumber.git",
|
||||
web => "https://github.com/imacat/Acme-GuessNumber",
|
||||
},
|
||||
bugtracker => {
|
||||
"web" => "https://github.com/imacat/Acme-GuessNumber/issues"
|
||||
}
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
__END__
|
||||
|
Loading…
Reference in New Issue
Block a user