Login
0.07
[gknop/Perl-Critic.git] / Makefile.PL
CommitLineData
02b7b45d
JRT
1#######################################################################
2# $URL$
3# $Date$
4# $Author$
5# $Revision$
6########################################################################
7
59b05e08
JRT
8use strict;
9use warnings;
59b05e08
JRT
10use ExtUtils::MakeMaker;
11
d1a97a75 12my $warning = <<'END_WARNING';
d06bd3e7 13
a4141f24
JRT
14###################################################
15# NOTICE! NOTICE! NOTICE! NOTICE! NOTICE! NOTICE! #
16#-------------------------------------------------#
17# In this version of Perl::Critic, some of #
18# the Policy modules have been renamed to better #
19# better reflect the intent of the Policy. If #
20# you have an older version of Perl::Critic #
21# already installed, it will cause many of the #
22# tests to fail and the new version will not work #
23# properly. #
24# #
25# I strongly advise you to remove the current #
26# version of Perl::Critic before proceeding with #
27# this installation. In most cases, this can be #
28# done by deleting everything below the #
29# Perl/Critic/Policy directory in your site_perl #
30# location. #
31# #
32# Also, if you have created a .perlcriticrc file, #
33# you will need to update it to match the new #
34# Policy module names. #
35# #
36# Sorry for the inconvenience. #
37# #
38# -Jeff <thaljef@cpan.org> #
39###################################################
d06bd3e7 40
a4141f24
JRT
41END_WARNING
42
d1a97a75
JRT
43
44eval {
45 require Perl::Critic;
46 warn $warning if $Perl::Critic::VERSION < 0.14;
47};
48
49
59b05e08
JRT
50WriteMakefile( NAME => 'Perl::Critic',
51 AUTHOR => 'Jeffrey Thalhammer <thaljef@cpan.org>',
52 ABSTRACT_FROM => 'lib/Perl/Critic.pm',
53 VERSION_FROM => 'lib/Perl/Critic.pm',
54 EXE_FILES => ['bin/perlcritic'],
55 PL_FILES => {},
15bfb880 56 PREREQ_PM => {'PPI' => 1.112,
59b05e08
JRT
57 'Config::Tiny' => 2,
58 'File::Spec' => 0,
59 'List::MoreUtils' => 0,
60 'List::Util' => 0,
61 'Pod::Usage' => 0,
62 'Pod::PlainText' => 0,
63 'Test::More' => 0,
64 'IO::String' => 0,
4e771b0b 65 'Scalar::Util' => 0,
59b05e08 66 'String::Format' => 1.13,
dff08b70 67 'Module::Pluggable' => 0,
59b05e08
JRT
68 },
69
70);