Dist::Zilla::PluginBundle::DAGOLDEN - Dist::Zilla configuration the way DAGOLDEN does it
version 0.008
# in dist.ini [@DAGOLDEN]
This is a Dist::Zilla PluginBundle. It is roughly equivalent to the following dist.ini:
; version provider [BumpVersionFromGit] version_regexp = ^release-(.+)$ ; choose files to include [GatherDir] [PruneCruft] [ManifestSkip] ; file modifications [PkgVersion] [Prepender] [PodWeaver] config_plugin = @DAGOLDEN ; generated files [License] [ReadmeFromPod] ; t tests [CompileTests] fake_home = 1 ; xt tests [MetaTests] [PodSyntaxTests] [PodCoverageTests] [PortabilityTests] ; metadata [AutoPrereq] [MinimumPerl] [MetaProvides::Package] [Repository] git_remote = origin [MetaNoIndex] directory = t directory = xt directory = examples directory = corpus [MetaYAML] [MetaJSON] ; build system [ExecDir] [ShareDir] [MakeMaker] ; manifest (after all generated files) [Manifest] ; before release [Git::Check] [CheckChangesHasContent] [CheckExtraTests] [TestRelease] [ConfirmRelease] ; releaser [UploadToCPAN] ; after release [Git::Commit / Commit_Dirty_Files] [Git::Tag] tag_format = release-%v [NextRelease] [Git::Commit / Commit_Changes] [Git::Push] push_to = origin
To use this PluginBundle, just add it to your dist.ini. You can provide the following options:
is_task -- this indicates whether TaskWeaver or PodWeaver should be used. Default is 0.
is_task
auto_prereq -- this indicates whether AutoPrereq should be used or not. Default is 1.
auto_prereq
tag_format -- given to Git::Tag. Default is 'release-%v' to be more robust than just the version number when parsing versions for BumpVersionFromGit
tag_format
Git::Tag
BumpVersionFromGit
version_regexp -- given to BumpVersionFromGit. Default is '^release-(.+)$'
version_regexp
git_remote -- given to Repository. Defaults to 'origin'. If set to something other than 'origin', it is also added as a push_to argument for Git::Push
git_remote
Repository
push_to
Git::Push
fake_release -- swaps FakeRelease for UploadToCPAN. Mostly useful for testing a dist.ini without risking a real release.
fake_release
weaver_config -- specifies a Pod::Weaver bundle. Defaults to @DAGOLDEN.
weaver_config
Dist::Zilla
Dist::Zilla::Plugin::PodWeaver
Dist::Zilla::Plugin::TaskWeaver
David Golden <dagolden@cpan.org>
This software is Copyright (c) 2010 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Dist::Zilla::PluginBundle::DAGOLDEN, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::PluginBundle::DAGOLDEN
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::PluginBundle::DAGOLDEN
For more information on module installation, please visit the detailed CPAN module installation guide.