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
|
use Module::Build;
my $class = Module::Build->subclass(
class => 'My::Builder',
code => q{
sub ACTION_dist {
my $self = shift;
`perldoc -t lib/CGI/Application/Plugin/ValidateRM.pm>README`;
$self->SUPER::ACTION_dist;
}
},
);
$class->new(
module_name => 'CGI::Application::Plugin::ValidateRM',
license => 'perl',
requires => {
'CGI::Application' => 3.0,
'Data::FormValidator' => 3.70, # for boolean overloading.
'HTML::FillInForm' => 1.07, # Fixes test-suite failure
},
create_makefile_pl => 'traditional',
sign=>0,
meta_merge => {
resources => {
repository => 'https://github.com/fany/CGI-Application-Plugin-ValidateRM',
}
},
)->create_build_script;
|