Remove meta recipe 4 and merge its relevant bits into meta recipe 5
[gitmo/Moose.git] / Makefile.PL
CommitLineData
38bf2a25 1use strict;
2use warnings;
3
dc381d64 4BEGIN {
5 eval { require ExtUtils::MakeMaker::Dist::Zilla::Develop };
6 if ($@) {
7 warn
8 "You need to install ExtUtils::MakeMaker::Dist::Zilla::Develop to run this Makefile.PL\n";
9 exit 1;
10 }
11
12 eval { require Test::Inline };
13 if ($@) {
14 warn "You need to install Test::Inline to run this Makefile.PL\n";
15 exit 1;
16 }
17
18 ExtUtils::MakeMaker::Dist::Zilla::Develop->import();
19}
38bf2a25 20
004ac8d9 21use lib 'inc';
22
23use MMHelper;
d62bc8fd 24use MyInline;
004ac8d9 25
d62bc8fd 26system( $^X, 'author/extract-inline-tests', '--quiet' );
27
004ac8d9 28eval MMHelper::my_package_subs();
38bf2a25 29
30WriteMakefile(
31 NAME => 'Moose',
004ac8d9 32 test => { TESTS => 't/*.t t/*/*.t' },
6ae2c8a1 33 CCFLAGS => MMHelper::ccflags_static('dev'),
34 MMHelper::mm_args(),
38bf2a25 35);