summaryrefslogtreecommitdiff
path: root/Build.PL
diff options
context:
space:
mode:
authorRuss Allbery <rra@cpan.org>2019-06-26 14:39:02 -0700
committerRuss Allbery <rra@cpan.org>2019-06-26 14:39:02 -0700
commita68c272ca332a8770ee0cea6f7e274da398f7193 (patch)
treeb509d204324f3a15c10c4fa1b97e235454f106ab /Build.PL
parentcac7ba7fc9867476037430c4accf4b3ae75505f1 (diff)
Improve docknot dist test
Use Capture::Tiny and File::Copy::Recursive to make the docknot dist test a bit simpler and easier to maintain.
Diffstat (limited to 'Build.PL')
-rw-r--r--Build.PL6
1 files changed, 5 insertions, 1 deletions
diff --git a/Build.PL b/Build.PL
index 18d06bd..2b0fe21 100644
--- a/Build.PL
+++ b/Build.PL
@@ -61,7 +61,7 @@ my $build = Module::Build->new(
},
# Other package relationships.
- configure_requires => { 'Module::Build' => 0.36 },
+ configure_requires => { 'Module::Build' => 0.4004 },
requires => {
'File::BaseDir' => 0,
'File::ShareDir' => 0,
@@ -72,6 +72,10 @@ my $build = Module::Build->new(
'Template' => 0,
perl => '5.024',
},
+ test_requires => {
+ 'Capture::Tiny' => 0,
+ 'File::Copy::Recursive' => 0,
+ },
);
# Generate the build script.