Skip to content

Commit

Permalink
Switched to Prereqs::FromCPANfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Getty committed Jul 5, 2014
1 parent 45f49f5 commit 6284bea
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 33 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -5,9 +5,9 @@ before_install:
- git config --global user.name "Dist Zilla Plugin TravisCI"
- git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org"
install:
- cpanm --quiet --notest --skip-satisfied Dist::Zilla
- dzil authordeps | grep -ve '^\W' | xargs -n 5 -P 10 cpanm --quiet --notest --skip-satisfied
- dzil listdeps | grep -ve '^\W' | cpanm --quiet --notest --skip-satisfied
- cpanm --quiet --notest --skip-installed Dist::Zilla
- dzil authordeps | grep -ve '^\W' | xargs -n 5 -P 10 cpanm --quiet --notest --skip-installed
- dzil listdeps | grep -ve '^\W' | cpanm --quiet --notest --skip-installed
language: perl
perl:
- 5.18
Expand Down
26 changes: 26 additions & 0 deletions cpanfile
@@ -0,0 +1,26 @@

requires 'App::cpanminus', '1.6002';
requires 'Dist::Zilla', '4.300030';
requires 'Dist::Zilla::Plugin::Alien', '0.007';
requires 'Dist::Zilla::Plugin::Authority', '1.006';
requires 'Dist::Zilla::Plugin::BumpVersionFromGit', '0.009';
requires 'Dist::Zilla::PluginBundle::Git', '2.009';
requires 'Dist::Zilla::Plugin::ChangelogFromGit', '0.006';
requires 'Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch', '0.006';
requires 'Dist::Zilla::Plugin::GithubMeta', '0.28';
requires 'Dist::Zilla::Plugin::InstallRelease', '0.008';
requires 'Dist::Zilla::Plugin::MakeMaker::SkipInstall', '1.100';
requires 'Dist::Zilla::Plugin::PodWeaver', '3.101641';
requires 'Dist::Zilla::Plugin::Repository', '0.19';
requires 'Dist::Zilla::Plugin::Prereqs::FromCPANfile', '0';
requires 'Dist::Zilla::Plugin::Run', '0.018';
requires 'Dist::Zilla::Plugin::TaskWeaver', '0.101624';
requires 'Dist::Zilla::Plugin::UploadToDuckPAN', '0.002';
requires 'Dist::Zilla::Plugin::TravisCI', '0';
requires 'Pod::Elemental', '0.102362';
requires 'Pod::Elemental::Transformer::List', '0.101620';
requires 'Pod::Weaver', '3.101638';

on test => sub {
requires 'Test::More', '0.96';
};
22 changes: 0 additions & 22 deletions dist.ini
Expand Up @@ -5,25 +5,3 @@ copyright_holder = Torsten Raudssus L<http://www.raudss.us/>
copyright_year = 2012

[@Author::GETTY]

[Prereqs]
App::cpanminus = 1.6002
Dist::Zilla = 4.300030
Dist::Zilla::Plugin::Alien = 0.007
Dist::Zilla::Plugin::Authority = 1.006
Dist::Zilla::Plugin::BumpVersionFromGit = 0.009
Dist::Zilla::PluginBundle::Git = 2.009
Dist::Zilla::Plugin::ChangelogFromGit = 0.006
Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch = 0.006
Dist::Zilla::Plugin::GithubMeta = 0.28
Dist::Zilla::Plugin::InstallRelease = 0.008
Dist::Zilla::Plugin::MakeMaker::SkipInstall = 1.100
Dist::Zilla::Plugin::PodWeaver = 3.101641
Dist::Zilla::Plugin::Repository = 0.19
Dist::Zilla::Plugin::Run = 0.018
Dist::Zilla::Plugin::TaskWeaver = 0.101624
Dist::Zilla::Plugin::UploadToDuckPAN = 0.002
Dist::Zilla::Plugin::TravisCI = 0
Pod::Elemental = 0.102362
Pod::Elemental::Transformer::List = 0.101620
Pod::Weaver = 3.101638
9 changes: 1 addition & 8 deletions lib/Dist/Zilla/PluginBundle/Author/GETTY.pm
Expand Up @@ -551,14 +551,7 @@ sub configure {
},
]);

$self->add_plugins(
[ Prereqs => 'TestsOfAuthorGETTY' => {
-phase => 'test',
-type => 'requires',
'Test::More' => '0.96',
'Test::LoadAllModules' => '0.021',
} ],
);
$self->add_plugins('Prereqs::FromCPANfile');

unless ($self->no_changes) {
if ($self->no_changelog_from_git) {
Expand Down

0 comments on commit 6284bea

Please sign in to comment.