forked from Ovid/Role-Basic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuild.PL
More file actions
23 lines (20 loc) · 847 Bytes
/
Build.PL
File metadata and controls
23 lines (20 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'Role::Basic',
license => 'perl',
dist_author => q{Curtis 'Ovid' Poe <ovid@cpan.org>},
dist_version_from => 'lib/Role/Basic.pm',
build_requires => { 'Test::More' => 0, },
# we could probably handle a somewhat older version, but this is six years
# old and shouldn't be too problematic (we hope). This does mean that if
# your perl < 5.7.3, it's possible you will have to install this.
requires => { 'Storable' => '2.15', },
add_to_cleanup => ['Role-Basic-*'],
create_makefile_pl => 'traditional',
recursive_test_files => 1,
meta_merge =>
{ resources => { repository => 'https://github.com/Ovid/Role-Basic' } },
);
$builder->create_build_script();