Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use @Basic Readme in dist, ReadmeAnyFromPod for github

simplify
  • Loading branch information...
commit 01d4eb62fc61571707b589f139e5e25c560ba150 1 parent 24d5f86
@rwstauner authored
Showing with 13 additions and 7 deletions.
  1. +4 −0 Changes
  2. +9 −7 lib/Dist/Zilla/PluginBundle/Author/RWSTAUNER.pm
View
4 Changes
@@ -2,6 +2,10 @@ Revision history for {{$dist->name}}
{{$NEXT}}
+ - Revert to @Basic Readme in dist
+ - Generate README.pod (instead of markdown) in repo root for github
+ (ReadmeAnyFromPod instead of ReadmeMarkdownFromPod + CopyReadmeFromBuild)
+
3.203 2011-12-10T00:02:58Z
- Consume PluginRemover role to get '-remove' magically
View
16 lib/Dist/Zilla/PluginBundle/Author/RWSTAUNER.pm
@@ -21,7 +21,6 @@ use Dist::Zilla::PluginBundle::Git 1.110500 ();
use Dist::Zilla::PluginBundle::TestingMania 0.014 ();
use Dist::Zilla::Plugin::Authority 1.005 (); # accepts any non-whitespace + locate_comment
use Dist::Zilla::Plugin::Bugtracker ();
-use Dist::Zilla::Plugin::CopyReadmeFromBuild 0.0019 ();
use Dist::Zilla::Plugin::CheckExtraTests ();
use Dist::Zilla::Plugin::CheckChangesHasContent 0.003 ();
use Dist::Zilla::Plugin::DualBuilders 1.001 (); # only runs tests once
@@ -38,7 +37,7 @@ use Dist::Zilla::Plugin::PkgVersion ();
use Dist::Zilla::Plugin::PodWeaver ();
use Dist::Zilla::Plugin::Prepender 1.112280 ();
use Pod::Markdown 1.120 ();
-use Dist::Zilla::Plugin::ReadmeMarkdownFromPod 0.103510 ();
+use Dist::Zilla::Plugin::ReadmeAnyFromPod 0.120120 ();
use Dist::Zilla::Plugin::Repository 0.16 (); # deprecates github_http
use Dist::Zilla::Plugin::ReportVersions::Tiny 1.01 ();
use Dist::Zilla::Plugin::TaskWeaver 0.101620 ();
@@ -200,9 +199,9 @@ sub configure {
# generated distribution files
qw(
License
- ReadmeMarkdownFromPod
- CopyReadmeFromBuild
+ Readme
),
+ [ ReadmeAnyFromPod => { type => 'pod', location => 'root' } ],
# @APOCALYPTIC: generate MANIFEST.SKIP ?
# metadata
@@ -300,7 +299,7 @@ sub configure {
);
# defaults: { tag_format => '%v', push_to => [ qw(origin) ] }
- $self->add_bundle( '@Git' => {allow_dirty => [qw(Changes README.mkdn)]} )
+ $self->add_bundle( '@Git' => {allow_dirty => [qw(Changes README.pod)]} )
if $self->use_git_bundle;
$self->add_plugins(
@@ -469,8 +468,11 @@ This bundle is roughly equivalent to:
; generate files
[License] ; generate distribution files (dzil core [@Basic])
- [ReadmeMarkdownFromPod] ; generate markdown from main_module pod
- [CopyReadmeFromBuild] ; copy it to root dir for github repo
+ [Readme] ; simple readme for inclusion in release dist ([@Basic])
+
+ [ReadmeAnyFromPod] ; generate repo-root README.pod from main_module for github
+ type = pod
+ location = root
; metadata
[Bugtracker] ; include bugtracker URL and email address (uses RT)
Please sign in to comment.
Something went wrong with that request. Please try again.