From: Jesse Luehrs Date: Mon, 10 Jan 2011 22:26:27 +0000 (-0600) Subject: convert to using EUMM::Dist::Zilla::Develop X-Git-Tag: 1.9903~31 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a5b4644414e4105fe94e52ba0073f5f8437ef154;p=gitmo%2FMoose.git convert to using EUMM::Dist::Zilla::Develop --- diff --git a/Makefile.PL b/Makefile.PL index 0a7006b..36093c1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,26 +1,13 @@ 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(); diff --git a/inc/MMHelper.pm b/inc/MMHelper.pm index 78a7bdc..02bf893 100644 --- a/inc/MMHelper.pm +++ b/inc/MMHelper.pm @@ -53,23 +53,6 @@ package MY; use Config; -my $message; -BEGIN { -$message = <<'MESSAGE'; - - ********************************* ERROR ************************************ - - This module uses Dist::Zilla for development. This Makefile.PL will let you - run the tests, but should not be used for installation or building dists. - Building a dist should be done with 'dzil build', installation should be - done with 'dzil install', and releasing should be done with 'dzil release'. - - **************************************************************************** - -MESSAGE -$message =~ s/^(.*)$/\t\$(NOECHO) echo "$1";/mg; -} - sub const_cccmd { my $ret = shift->SUPER::const_cccmd(@_); return q{} unless $ret; @@ -90,24 +73,6 @@ sub postamble { $(OBJECT) : mop.h EOF } - -sub install { - return <