bump version for release
[gitmo/Role-Tiny.git] / Makefile.PL
1 use strict;
2 use warnings FATAL => 'all';
3 use 5.008001;
4 use ExtUtils::MakeMaker;
5 (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
6
7 my %BUILD_DEPS = (
8   'Test::More' => 0.96,
9   'Test::Fatal' => 0.003,
10 );
11
12 # have to do this since old EUMM dev releases miss the eval $VERSION line
13 my $mymeta_works = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5707 };
14
15 WriteMakefile(
16   NAME => 'Role-Tiny',
17   VERSION_FROM => 'lib/Role/Tiny.pm',
18   PREREQ_PM => {
19     ($] >= 5.010 ? () : ('MRO::Compat' => 0)),
20     ($mymeta_works ? () : (%BUILD_DEPS)),
21   },
22   $mymeta_works ? (BUILD_REQUIRES => \%BUILD_DEPS) : (),
23
24   META_ADD => {
25     resources => {
26       # r/w: gitmo@git.shadowcat.co.uk:Role-Tiny.git
27       repository => 'git://git.shadowcat.co.uk/Role-Tiny.git',
28     },
29   },
30
31 );