Skip to content

Instantly share code, notes, and snippets.

@miyagawa
Last active December 15, 2015 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miyagawa/5201609 to your computer and use it in GitHub Desktop.
Save miyagawa/5201609 to your computer and use it in GitHub Desktop.
The most unobtrusive dzil ini file. Doesn't rewrite your .pm file at all. You can build/test/install from git without dzil. Easy to migrate from Module::Install or ShipIt.
name = Acme-Dzil-Test
; I like to keep .pm files intact in git repo
; use perl-reversion before making a release
[VersionFromModule]
; should be before Git::Commit
[NextRelease]
; Make the git repo installable
[Git::GatherDir]
exclude_filename = Build.PL
exclude_filename = META.json
exclude_filename = README.md
[CopyFilesFromBuild]
copy = META.json
copy = Build.PL
[@Git]
allow_dirty = dist.ini
allow_dirty = Changes
allow_dirty = META.json
; Make Github center and front
[GithubMeta]
issues = 1
[ReadmeAnyFromPod]
type = markdown
filename = README.md
location = root
; cpanfile + MB::Tiny
[Prereqs::FromCPANfile]
[ModuleBuildTiny]
[MetaJSON]
; standard stuff
[PodSyntaxTests]
[Test::Compile]
[MetaYAML]
[License]
[ReadmeFromPod]
[ExtraTests]
[ExecDir]
[ShareDir]
[Manifest]
[CheckChangesHasContent]
[TestRelease]
[ConfirmRelease]
[UploadToCPAN]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment