Skip to content

Commit

Permalink
Added TEST_REQUIRES
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jan 7, 2025
1 parent 1dde5a6 commit 9cbef2b
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@ use warnings;
use ExtUtils::MakeMaker;

WriteMakefile(
NAME => 'Grammar::Improver', # Name of the module
VERSION_FROM => 'lib/Grammar/Improver.pm', # Automatically fetch version from the module
AUTHOR => 'Nigel Horne <njh@bandsman.co.uk>', # Author information
ABSTRACT => 'A Perl module for improving grammar using an external API.',
NAME => 'Grammar::Improver', # Name of the module
VERSION_FROM => 'lib/Grammar/Improver.pm', # Automatically fetch version from the module
AUTHOR => 'Nigel Horne <njh@bandsman.co.uk>', # Author information
ABSTRACT => 'A Perl module for improving grammar using an external API.',
((defined($ExtUtils::MakeMaker::VERSION) && ($ExtUtils::MakeMaker::VERSION >= 6.3002))
? ('LICENSE'=> 'GPL')
: ()),
PREREQ_PM => { # Dependencies (with versions)
'LWP::UserAgent' => 0,
'JSON::XS' => 0,
},
PREREQ_PM => { # Dependencies (with versions)
'ExtUtils::MakeMaker' => 6.64, # Minimum version for TEST_REQUIRES
'LWP::UserAgent' => 0,
'JSON::XS' => 0
}, TEST_REQUIRES => {
'Test::DescribeMe' => 0,
'Test::Most' => 0,
'Test::Needs' => 0
},
);

0 comments on commit 9cbef2b

Please sign in to comment.