make tests pass if Lexical::Persistence is not installed
[p5sagit/Devel-REPL.git] / Makefile.PL
CommitLineData
59aedffc 1use strict;
2use warnings;
c1c9be46 3use inc::Module::Install 0.91;
09be07ba 4use Module::Install::Repository;
59aedffc 5
6name 'Devel-REPL';
ef59b3d9 7perl_version '5.008001';
59aedffc 8all_from 'lib/Devel/REPL.pm';
9
10install_script 'script/re.pl';
11
09be07ba 12# r/w: p5sagit@git.shadowcat.co.uk:Devel-REPL.git
13# r/o: git://git.shadowcat.co.uk/p5sagit/Devel-REPL.git
14# homepage: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Devel-REPL.git
15auto_set_repository;
16
ab213f1f 17# core
18requires 'File::Spec';
19requires 'Term::ReadLine';
20
21# rest
8bf72450 22requires 'Moose' => '0.93';
70b00e9c 23requires 'MooseX::Object::Pluggable' => '0.0009';
3601a89e 24requires 'MooseX::Getopt' => '0.18';
aa8b7647 25requires 'namespace::autoclean';
59aedffc 26requires 'File::HomeDir';
1989c3d2 27requires 'Task::Weaken';
ab213f1f 28requires 'B::Concise';
1f2b8d50 29requires 'Term::ANSIColor';
ab213f1f 30requires 'Devel::Peek';
31
592c608b 32recommends 'PPI::XS' => '0.902';
33
ab213f1f 34feature 'Completion plugin - extensible tab completion',
44e17197 35 -default => 1,
ab213f1f 36 'PPI' => 0;
37
38feature 'DDS plugin - better format results with Data::Dump::Streamer',
44e17197 39 -default => 1,
ab213f1f 40 'Data::Dump::Streamer' => 0;
41
381b5fa4 42feature 'DDC plugin - even better format results with Data::Dumper::Concise',
43 -default => 1,
44 'Data::Dumper::Concise' => 0;
45
ab213f1f 46feature 'INC completion driver - tab complete module names in use and require',
26d5d72e 47 -default => 1,
ab213f1f 48 'File::Next' => 0;
49
54fea9b0 50feature 'Interrupt plugin - traps SIGINT to kill long-running lines',
3ad5a185 51 -default => (($^O =~ /Win32/) ? 0 : 1),
54fea9b0 52 'Sys::SigAction' => 0;
53
ab213f1f 54feature 'Keywords completion driver - tab complete Perl keywords and operators',
26d5d72e 55 -default => 1,
ab213f1f 56 'B::Keywords' => 0;
57
58feature 'LexEnv plugin - variables declared with "my" persist between statements',
44e17197 59 -default => 1,
ab213f1f 60 'Lexical::Persistence' => 0;
61
62feature 'MultiLine::PPI plugin - continue reading lines until all blocks are closed',
44e17197 63 -default => 1,
ab213f1f 64 'PPI' => 0;
65
66feature 'Nopaste plugin - upload a session\'s input and output to a Pastebin',
67 -default => 0,
68 'App::Nopaste' => 0;
69
70feature 'PPI plugin - PPI dumping of Perl code',
44e17197 71 -default => 1,
ab213f1f 72 'PPI' => 0;
73
74feature 'Refresh plugin - automatically reload libraries with Module::Refresh',
75 -default => 0,
76 'Module::Refresh' => 0;
1f2b8d50 77
3e2f4695 78test_requires 'Test::More' => '0.88';
aca34787 79test_requires 'Test::Warnings';
70b00e9c 80
59aedffc 81auto_install;
82WriteAll;
ab213f1f 83