From 1664e2f49eb6cc09f31b2f8fc3973eb9d4d76ce6 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 5 Nov 2022 08:17:15 +0100 Subject: Build.PL: Specify File::Slurp dependency for running tests --- Build.PL | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/Build.PL b/Build.PL index c2cfd37..140ffad 100644 --- a/Build.PL +++ b/Build.PL @@ -17,24 +17,26 @@ Module::Build->new( module_name => 'Travel::Status::DE::DeutscheBahn', license => 'perl', requires => { - 'perl' => '5.14.0', - 'Carp' => 0, - 'Class::Accessor' => '0.16', - 'DateTime' => 0, + 'perl' => '5.14.0', + 'Carp' => 0, + 'Class::Accessor' => '0.16', + 'DateTime' => 0, 'DateTime::Format::Strptime' => 0, - 'Digest::MD5' => 0, - 'Getopt::Long' => 0, - 'JSON' => 0, - 'List::MoreUtils' => 0, - 'List::Util' => 0, - 'LWP::UserAgent' => 0, - 'LWP::Protocol::https' => 0, + 'Digest::MD5' => 0, + 'Getopt::Long' => 0, + 'JSON' => 0, + 'List::MoreUtils' => 0, + 'List::Util' => 0, + 'LWP::UserAgent' => 0, + 'LWP::Protocol::https' => 0, }, - script_files => 'bin/', - sign => 1, - meta_merge => { + script_files => 'bin/', + sign => 1, + test_requires => { 'File::Slurp' => 0 }, + meta_merge => { resources => { - repository => 'https://github.com/derf/Travel-Status-DE-DeutscheBahn' + repository => + 'https://github.com/derf/Travel-Status-DE-DeutscheBahn' } }, )->create_build_script(); -- cgit v1.2.3