From d61b403f1233e7620b0dc70beaf5c7d7b18063ab Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 10 Jan 2011 09:53:10 -0600 Subject: one more name change --- lib/ExtUtils/MakeMaker/Dist/Zilla/Develop.pm | 64 ++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 lib/ExtUtils/MakeMaker/Dist/Zilla/Develop.pm (limited to 'lib/ExtUtils/MakeMaker/Dist/Zilla') diff --git a/lib/ExtUtils/MakeMaker/Dist/Zilla/Develop.pm b/lib/ExtUtils/MakeMaker/Dist/Zilla/Develop.pm new file mode 100644 index 0000000..6c3e8ee --- /dev/null +++ b/lib/ExtUtils/MakeMaker/Dist/Zilla/Develop.pm @@ -0,0 +1,64 @@ +package ExtUtils::MakeMaker::Dist::Zilla::Develop; +use strict; +use warnings; + +use ExtUtils::MakeMaker (); + +sub import { + 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 + + ExtUtils::MakeMaker->export_to_level(1, @_); +} + +{ + 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 install { + return <