Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 281 lines (261 sloc) 5.046 kb
f587d0b @pjcj Update cpancover.
authored
1 #!/usr/bin/perl
2
3 # Copyright 2012, Paul Johnson (paul@pjcj.net)
4
5 # This software is free. It is licensed under the same terms as Perl itself.
6
7 # The latest version of this software should be available from my homepage:
8 # http://www.pjcj.net
9
10 use strict;
11 use warnings;
12
13 my $modules = <<EOM;
14
15 # Modules with many dependencies
16 Task::Kensho
17 Task::Plack
18 Task::Catalyst
19 Task::Dancer
20 Mojolicious
21 Task::Moose
22 Task::Dist::Zilla
23 Task::CPAN::SmokeBox
24 Task::Perl::Critic
25 Task::Toolchain::Test
26 Task::Template::Benchmark
27 MojoMojo
28 Jifty
29 Bot::BasicBot
30 Dist::Zilla
31
32 # Stuff for Devel::Cover
33 # Devel::Cover
34 .
35 Parallel::Iterator
36 Test::Pod::Coverage
f7a4651 @pjcj Add another module Devel::Cover uses to cpancover.
authored
37 PPI::HTML
f587d0b @pjcj Update cpancover.
authored
38
39 # My stuff
40 Gedcom
41 Shell::Source
42
e47a048 @pjcj Add NetAddr::IP to cpancover.
authored
43 # Stuff with interest for Devel::Cover
44 NetAddr::IP
45
f587d0b @pjcj Update cpancover.
authored
46 # There's going to be repetition down here
47
48 # Modules with many dependents
49 Exporter
50 Text::Tabs
51 Test::Harness
52 Pod::Escapes
53 Pod::Simple
54 IO
55 Getopt::Long
56 Pod::Parser
57 ExtUtils::MakeMaker
58 Test::Simple
59 ExtUtils::Manifest
60 constant
61 Test
62 Data::Dumper
63 File::Temp
64 ExtUtils::Install
65 Text::ParseWords
66 ExtUtils::CBuilder
67 ExtUtils::ParseXS
68 Module::Build
69 File::Path
70 XSLoader
71 MIME::Base64
72 Digest
73 Digest::MD5
74 Sub::Uplevel
75 URI
76 Test::Exception
77 HTML::Tagset
78 HTML::Parser
79 Compress::Raw::Zlib
80 Compress::Raw::Bzip2
81 Storable
82 base
83 List::MoreUtils
84 Params::Util
85 Task::Weaken
86 Sub::Install
87 Data::OptList
88 Sub::Exporter
89 Test::Tester
90 Test::NoWarnings
91 Attribute::Handlers
92 Class::Accessor
93 Algorithm::C3
94 Class::C3
95 Sub::Name
96 MRO::Compat
97 Time::HiRes
98 Params::Validate
99 Try::Tiny
100 Scope::Guard
101 Package::Stash
102 version
103 Tree::DAG_Node
104 Test::Warn
105 Devel::GlobalDestruction
106 Class::MOP
107 Moose
108 Class::Data::Inheritable
109 Test::Deep
110 Carp::Clan
111 Module::Pluggable
112 Variable::Magic
113 B::Hooks::EndOfScope
114 Sub::Identify
115 namespace::clean
116 Time::Local
117 DBI
118 Text::Balanced
119 Class::Inspector
120 Test::Pod
121 Encode
122 Path::Class
123 Digest::SHA1
124 FCGI
125 CGI
126 MooseX::Types
127 XML::NamespaceSupport
128 XML::SAX
129 Class::Singleton
130 Clone
131 DateTime::TimeZone
132 DateTime::Locale
133 YAML
134 DateTime
135 namespace::autoclean
136 IO::String
137 Algorithm::Diff
138 File::Slurp
139 Devel::StackTrace
140
141 # Modules which should not fail
142 IO
143 List::MoreUtils
144 Test::Harness
145 ExtUtils::MakeMaker
146 File::Path
147 XML::Parser
148 Test::Simple
149 HTML::Tree
150 Storable
151 Net::IP
152 DB_File
153 XML::LibXML
154 Time::HiRes
155 Exporter
156 Pod::Escapes
157 ExtUtils::ParseXS
158 Module::Build
159 Pod::Parser
160 Data::Dumper
161 ExtUtils::Install
162 IO::Tty
163 XML::SAX
164 Class::ErrorHandler
165 URI
166 HTML::Template
167 Compress::Raw::Zlib
168 Net::DNS
169 Test::Pod::Coverage
170 XSLoader
171 version
172 URI::Fetch
173 Pod::Simple
174 constant
175 Test
176 File::Temp
177 Template::Toolkit
178 Cache::Cache
179 Feed::Find
180 HTML::Tagset
181 ExtUtils::PkgConfig
182 Devel::GlobalDestruction
183 PadWalker
184 Sub::Name
185 Encode
186 Test::Base
187 Class::DBI::Plugin::Type
188 Sub::Identify
189 Sub::Uplevel
190 Params::Validate
191 POE
192 Class::Singleton
193 Proc::ProcessTable
194 Compress::Raw::Bzip2
195 Class::MOP
196 HTTP::Server::Simple
197 Sub::Exporter
198 Fuse
199 File::HomeDir
200 Bot::BasicBot
201 # URI::Find::Simple
202 base
203 # GD
204 WWW::Mechanize
205 Test::Most
206 Sys::Syslog
207 File::Slurp
208 Tree::DAG_Node
209 FCGI
210 Params::Util
211 Devel::Peek
212 DateTime::Format::Mail
213 Spiffy
214 HTML::TableExtract
215 DBD::SQLite
216 Class::Accessor::Chained
217 DBIx::ContextualFetch
218 Test::Tester
219 Variable::Magic
220 AppConfig
221 Class::Accessor
222 Want
223 XML::Simple
224 IO::All
225 Number::Format
226 Term::ReadKey
227 DBI
228 Test::Exception
229
230 # Web stuff
231 Authen::Passphrase::BlowfishCrypt
232 Carp::Always::Color
233 App::cpanoutdated
234 Dancer
2d46649 @pjcj Add more modules for cpancover.
authored
235 Dancer::Logger::Log4perl
236 Dancer::Plugin::Auth::Twitter
f587d0b @pjcj Update cpancover.
authored
237 Dancer::Plugin::Database
238 Dancer::Plugin::DBIC
239 Data::Printer
240 DBD::SQLite
2d46649 @pjcj Add more modules for cpancover.
authored
241 DBIx::Class::Schema::Loader
f587d0b @pjcj Update cpancover.
authored
242 DBIx::Class::TimeStamp
2d46649 @pjcj Add more modules for cpancover.
authored
243 DBIx::Log4perl
f587d0b @pjcj Update cpancover.
authored
244 Exporter::Lite
2d46649 @pjcj Add more modules for cpancover.
authored
245 Log::Log4perl
f587d0b @pjcj Update cpancover.
authored
246 JSON
247 Module::Refresh
248 Moose
249 MooseX::Declare
250 MooseX::StrictConstructor
2d46649 @pjcj Add more modules for cpancover.
authored
251 MooseX::Types::DateTime::MoreCoercions
f587d0b @pjcj Update cpancover.
authored
252 Plack::Middleware::Debug
253 Plack::Middleware::Debug::Dancer::Version
2d46649 @pjcj Add more modules for cpancover.
authored
254 Plack::Middleware::ReverseProxy
255 Plack::Middleware::Debug::Dancer::TemplateVariables
f587d0b @pjcj Update cpancover.
authored
256 SQL::Translator
257 Starman
258 Template
259 Test::More
260 YAML
261
2d46649 @pjcj Add more modules for cpancover.
authored
262 # Maths stuff
61a5968 @leto Add some math modules
leto authored
263 Math::ODE
264 Math::MatrixReal
265
c2315e5 @pjcj Add Image::PNG to cpancover.
authored
266 # Other stuff
267 Image::PNG
268
f587d0b @pjcj Update cpancover.
authored
269 EOM
270
f194f4e @pjcj Pass install_modules options through to cpanm.
authored
271 my @opts = @ARGV;
272
f587d0b @pjcj Update cpancover.
authored
273 my @modules = grep /\S/, grep !/^ +#/, split /\n/, $modules;
274 s/^ +//, s/ +$// for @modules;
275 my %m; @modules = grep !$m{$_}++, @modules;
276
277 for my $mod (sort @modules)
278 {
f194f4e @pjcj Pass install_modules options through to cpanm.
authored
279 system "cpanm @opts $mod";
f587d0b @pjcj Update cpancover.
authored
280 }
Something went wrong with that request. Please try again.