summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-11-05 08:17:15 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-11-05 08:17:15 +0100
commit1664e2f49eb6cc09f31b2f8fc3973eb9d4d76ce6 (patch)
treed39208dbc9d2de9ad5785ba827b899868ba5a32f
parent1b5a8c327e31ce66dc5e2e18c78e31f9e166c9bd (diff)
Build.PL: Specify File::Slurp dependency for running tests
-rw-r--r--Build.PL32
1 files 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();