use AutoPrereqs, making sure to skip optional plugins
Karen Etheridge [Sun, 29 Sep 2013 22:13:41 +0000 (15:13 -0700)]
dist.ini

index 91cb20e..d676099 100644 (file)
--- a/dist.ini
+++ b/dist.ini
@@ -4,18 +4,23 @@ copyright_holder = Matt S Trout - mst (at) shadowcatsystems.co.uk (L<http://www.
 license = Perl_5
 copyright_year = 2007
 
+
+[FileFinder::Filter / CoreModules]
+finder = :InstallModules
+skip = Devel/REPL/Plugin/(Completion|LexEnv|DDC|DDS|Interrupt|MultiLine/PPI|Nopaste|PPI|Refresh)\.pm$
+skip = Devel/REPL/Plugin/CompletionDriver/
+
 [@Author::ETHER]
 :version = 0.025
 -remove = PodWeaver
--remove = AutoPrereqs
 server = p5sagit
 Authority.authority = cpan:PHAYLON
 Test::MinimumVersion.max_target_perl = 5.008001
 -remove = PodCoverageTests  ; XXX TODO
 -remove = Test::PodSpelling ; XXX TODO
 -remove = Test::UnusedVars  ; XXX TODO
-Test::Compile.skip[0] = Devel::REPL::Plugin::CompletionDriver::(INC|Keywords|LexEnv)
-Test::Compile.skip[1] = Devel::REPL::Plugin::(Completion|LexEnv|DDC|DDS|Interrupt|MultiLine::PPI|Nopaste|PPI|Refresh)
+AutoPrereqs.finder = CoreModules
+Test::Compile.module_finder = CoreModules
 
 [ExecDir]
 dir = script
@@ -23,25 +28,10 @@ dir = script
 [ContributorsFromGit]
 
 [Prereqs / RuntimeRequires]
-; core
-File::Spec = 0
-Term::ReadLine = 0
-; rest
 Moose = 0.93
 MooseX::Object::Pluggable = 0.0009
 MooseX::Getopt = 0.18
-namespace::autoclean = 0
-File::HomeDir = 0
 Task::Weaken = 0
-B::Concise = 0
-Term::ANSIColor = 0
-Devel::Peek = 0
-Module::Runtime = 0
-
-[Prereqs / TestRequires]
-Test::More = 0.88
-Test::Warnings = 0
-if = 0
 
 [Prereqs / RuntimeRecommends]
 PPI::XS = 0.902