Skip to content

Commit

Permalink
Merge pull request #25 from paultcochrane/pr/add-provides-to-meta-info
Browse files Browse the repository at this point in the history
Generate "provides" info in META files
  • Loading branch information
fayland committed Nov 11, 2016
2 parents 63a42f9 + e116406 commit 4d64023
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"runtime" : {
"requires" : {
"Dist::Zilla" : "0",
"Dist::Zilla::Plugin::MetaProvides::Package" : "0",
"Moose" : "0",
"Moose::Util::TypeConstraints" : "0",
"Path::Tiny" : "0",
Expand All @@ -53,6 +54,12 @@
}
}
},
"provides" : {
"Dist::Zilla::Plugin::GitHubREADME::Badge" : {
"file" : "lib/Dist/Zilla/Plugin/GitHubREADME/Badge.pm",
"version" : "0.20"
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
Expand Down
2 changes: 2 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ my %WriteMakefileArgs = (
"NAME" => "Dist::Zilla::Plugin::GitHubREADME::Badge",
"PREREQ_PM" => {
"Dist::Zilla" => 0,
"Dist::Zilla::Plugin::MetaProvides::Package" => 0,
"Moose" => 0,
"Moose::Util::TypeConstraints" => 0,
"Path::Tiny" => 0,
Expand All @@ -37,6 +38,7 @@ my %WriteMakefileArgs = (

my %FallbackPrereqs = (
"Dist::Zilla" => 0,
"Dist::Zilla::Plugin::MetaProvides::Package" => 0,
"Moose" => 0,
"Moose::Util::TypeConstraints" => 0,
"Path::Tiny" => 0,
Expand Down
1 change: 1 addition & 0 deletions cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ requires 'Path::Tiny';
requires 'Moose';
requires 'Moose::Util::TypeConstraints';
requires 'namespace::autoclean';
requires 'Dist::Zilla::Plugin::MetaProvides::Package';

on test => sub {
requires 'Test::More', '0.96';
Expand Down
2 changes: 2 additions & 0 deletions dist.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[@Milla]
installer = MakeMaker

[MetaProvides::Package]

[GitHubREADME::Badge]
badges = travis
badges = coveralls
Expand Down

0 comments on commit 4d64023

Please sign in to comment.