TBX-Checker
view release on metacpan or search on metacpan
[PodCoverageTests] ; test pod coverage
[PodSyntaxTests] ; test pod syntax
[Test::Portability] ; test portability of file names
[Test::Synopsis] ; make sure the synopsis is compilable ;doesn't work with heredocs
[Test::UnusedVars] ; find unused variables
[Test::Pod::LinkCheck] ; find broken links
[Test::CPAN::Changes] ; test changelog conformance to CPAN standards
; [Test::EOL] ; Bad for Windows. TODO: find something else for trailing space
[Test::Kwalitee] ; check kwalitee metric
; -- munge files
[Prepender] ; automatically add lines following the shebang in modules
copyright = 1
[OurPkgVersion] ; "our $VERSION = $version" in main module
[PodWeaver] ; weave our POD and add useful boilerplate
; config_plugin = @Apocalyptic
; [LocaleMsgfmt] ; compile .po files to .mo files in share/locale
; locale = share/locale
; update the Changelog
[NextRelease]
time_zone = local
filename = Changes
; -- generate/process meta-information
[ExecDir] ; automatically install files from bin/ directory as executables ( if it exists )
dir = bin
[ShareDir] ; automatically install File::ShareDir files from share/ ( if it exists )
dir = share
[MinimumPerl] ; automatically find the minimum perl version required and add it to prereqs
[Bugtracker] ; set bugtracker to http://rt.cpan.org/Public/Dist/Display.html?Name=$dist
[Homepage] ; set homepage to http://search.cpan.org/dist/$dist/
[MetaConfig] ; dump dzil config into metadata
[MetaData::BuiltWith] ; dump entire perl modules we used to build into metadata
[Repository] ; set git repository path by looking at git configs
git_remote = origin
[MetaResources] ; add arbitrary resources to metadata
license = http://dev.perl.org/licenses/
; generate meta files
[MetaNoIndex] ; tell PAUSE to not index those directories
directory = inc t xt examples share eg mylib
[MetaProvides::Package] ; get provides from package definitions in files
meta_noindex = 1
[License] ; create LICENSE file
[MakeMaker] ; create Makefile.PL file
[ModuleBuild] ; create Build.PL file
[DualBuilders] ; have M::B and EU::MM but select only M::B as prereq
prefer = build
[MetaYAML] ; create META.yml file
; need to do `git config --global github.user USERNAME`
[GithubMeta] ; include Git info in Meta.yml
[MetaJSON] ; create META.json file
[ReadmeFromPod] ; create README file in build
[ReadmeAnyFromPod] ; create markdown README file in the project root
type = markdown
location = root
[InstallGuide] ; create INSTALL file
; Windows: install gpg4win
; [Signature] ; create SIGNATURE file whenever we create an archive
; sign = archive
[Manifest] ; create the MANIFEST file
; -- pre-release
; Perform Git operations after a release or build
; [Git::Check] ; check for a clean state before release; always fails because build adds new files
[CheckChangesHasContent] ; make sure you explained your changes :)
changelog = Changes
; [TestRelease] ; make sure that we won't release a FAIL distro ; TODO: strange errors only in DZIL testing
[CheckPrereqsIndexed] ; make sure that our prereqs actually exist on CPAN
[ConfirmRelease] ; double-check that we ACTUALLY want a release
; -- test
[RunExtraTests] ; run the xt/ tests when `dzil test --release` is run
; -- release
[UploadToCPAN] ; upload your dist to CPAN using CPAN::Uploader
; -- post-release
[ArchiveRelease] ; archive our tarballs under releases/
directory = releases
[Clean] ; run dzil clean so we have/commit no cruft
[Git::Commit] ; commit the dzil-generated stuff (allow_dirty means commit it)
allow_dirty = README.mkdn
allow_dirty = Changes
allow_dirty = dist.ini
allow_dirty = README.mkdn
commit_msg = New CPAN release of %N - v%v%n%n%c
add_files_in = releases ; add our release tarballs to the repo
; commit released build to "build" branch
[Git::CommitBuild]
release_branch = build/%b
message = Build of release v%v (%h on %b)
[Git::Tag] ; tag our new release
tag_format = v%v
; branch = releases
tag_message = Tagged release %v
;NOTE: you'll have to tag the build manually
[Git::Push] ; automatically push to the "origin" defined in .git/config
push_to = origin
;NOTE: you'll have to push the build manually
[ReportPhase / Phase_Ends]
( run in 2.424 seconds using v1.01-cache-2.11-cpan-df04353d9ac )