-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuild.PL
36 lines (31 loc) · 1.04 KB
/
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
30
31
32
33
34
35
36
use strict;
use warnings;
use Module::Build;
use ExtUtils::MakeMaker;
# NOTE: This Build.PL is to make it easier for people without dzil
# to install dependencies/etc. It may be out of sync with dist.ini
# and dist_version needs to be manually updated, for now.
my ($mm) = $ExtUtils::MakeMaker::VERSION =~ /^([^_]+)/;
my $builder = Module::Build->new(
module_name => 'Media: Management',
license => 'perl',
dist_author => 'Tony Snearly <[email protected]>',
dist_version => 'Media/Management.pm',
include_dirs => '',
build_requires => {
'Test::More' => 0,
'Test::Exception' => 0,
},
configure_requires => { 'Module::Build' => 0.38 },
requires => {
'perl' => '5.008',
},
add_to_cleanup => [ 'Media-Management-*' ],
meta_merge => {
resources => {
repository => 'https://github.com/tsnearly/transfer-media/tree/master'
},
},
);
$builder->create_build_script();
print "Have a great day!\n";