Commit | Line | Data |
38bf2a25 |
1 | use strict; |
2 | use warnings; |
3 | |
dc381d64 |
4 | BEGIN { |
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 |
21 | use lib 'inc'; |
22 | |
23 | use MMHelper; |
d62bc8fd |
24 | use MyInline; |
004ac8d9 |
25 | |
d62bc8fd |
26 | system( $^X, 'author/extract-inline-tests', '--quiet' ); |
27 | |
004ac8d9 |
28 | eval MMHelper::my_package_subs(); |
38bf2a25 |
29 | |
30 | WriteMakefile( |
31 | NAME => 'Moose', |
004ac8d9 |
32 | test => { TESTS => 't/*.t t/*/*.t' }, |
6ae2c8a1 |
33 | CCFLAGS => MMHelper::ccflags_static('dev'), |
34 | MMHelper::mm_args(), |
38bf2a25 |
35 | ); |