forked from drmuey/p5-File-Copy-Recursive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuild.PL
29 lines (24 loc) · 816 Bytes
/
Build.PL
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
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'File::Copy::Recursive',
license => 'artistic2',
dist_author => 'Daniel Muey <http://drmuey.com/cpan_contact.pl>',
dist_version_from => 'lib/File/Copy/Recursive.pm',
requires => {
'Test::More' => 0,
'Test::Exception' => 0,
'File::Temp' => 0,
# Legacy only
'File::Copy' => 0,
'File::Spec' => 0,
},
# delete_share => '.', # NYI https://rt.cpan.org/Ticket/Display.html?id=92863
# install_share => 'share',
add_to_cleanup => ['File-Copy-Recursive-*'],
);
$builder->create_build_script();
# package MY;
# use File::ShareDir::Install 0.07 qw(postamble);
# File::ShareDir::Install::delete_share('.');