X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=36093c161ac0acf397e42486d2d3714695450d0b;hb=e750d47f97f7c7bc0c805d582455e994b64fe724;hp=0b9d0c3eafd7532e7533cc05c76c5cd5d6160561;hpb=004ac8d9484099572b66056101474c83ad154721;p=gitmo%2FMoose.git diff --git a/Makefile.PL b/Makefile.PL index 0b9d0c3..36093c1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,29 +1,20 @@ use strict; use warnings; -use Config; -use ExtUtils::MakeMaker; +use ExtUtils::MakeMaker::Dist::Zilla::Develop; use lib 'inc'; use MMHelper; +use MyInline; -warn <<'EOF'; - - ********************************* WARNING ********************************** - - This module uses Dist::Zilla for development. This Makefile.PL will let you - run the tests, but you are encouraged to install Dist::Zilla and the needed - plugins if you intend on doing any serious hacking. - - **************************************************************************** - -EOF +system( $^X, 'author/extract-inline-tests', '--quiet' ); eval MMHelper::my_package_subs(); WriteMakefile( NAME => 'Moose', test => { TESTS => 't/*.t t/*/*.t' }, - MMHelper::mm_args(q{.}), + CCFLAGS => MMHelper::ccflags_static('dev'), + MMHelper::mm_args(), );