name    = Dancer2-Template-TextTemplate
author  = Thibaut Le Page <thilp@cpan.org>
license = Perl_5
copyright_holder = Thibaut Le Page
copyright_year   = 2014

version = 0.1

; This comes from ~/.dzil/profiles/default/plugins.ini

[@Basic]

[MetaJSON]      ; produce a META.json

[MetaResources]
homepage          = https://github.com/thilp/Dancer2-Template-TextTemplate
bugtracker.web    = https://github.com/thilp/Dancer2-Template-TextTemplate/issues
repository.url    = ssh://git@github.com:thilp/Dancer2-Template-TextTemplate.git
repository.web    = https://github.com/thilp/Dancer2-Template-TextTemplate
repository.type   = git

;[OnlyCorePrereqs]
;starting_version = 5.010

[Test::NoTabs]
[EOLTests]
[Test::MinimumVersion]
max_target_perl = 5.10.1
;[Test::PrereqsFromMeta]
[Test::PodSpelling]
[Test::Perl::Critic]
[MetaTests]
[PodSyntaxTests]
[PodCoverageTests]
;[Test::Portability]
;options = test_vms_length = 0
[Test::Version]
fake_home = 1
xt_mode = 1
[Test::UnusedVars]
[Test::Kwalitee]
[Test::ChangesHasContent]
;[Test::CleanNamespaces]

; find prereqs from code
[AutoPrereqs]
skip = ^t

; prevent a release if you have prereqs not found on CPAN
[CheckPrereqsIndexed]

; determine minimum perl version
[MinimumPerl]

[GithubMeta]
issues = 1

; sets 'no_index' in META
[MetaNoIndex]
directory = t
directory = xt
directory = examples
package = DB

; add 'provides' to META files
; meta_noindex to respect prior no_index directives
[MetaProvides::Package]
meta_noindex = 1

; update the next release number in Changes
[NextRelease]

[@Git]

; build an INSTALL file
[InstallGuide]

[PodWeaver]

; create CSS-rich HTML pages from the POD-aware files
[Pod2Html]
dir = docs/html

; sign releases with Module::Signature
[Signature]

[CheckChangeLog]

[OurPkgVersion]

; for GitHub
[ ReadmeAnyFromPod / MarkdownInRoot ]
filename = README.md

[ReportVersions::Tiny]

; The two following Run steps come from:
; http://blogs.perl.org/users/ovid/2014/03/a-simple-distini-for-distzilla.html
; as implemented in the Test::Class::Moose repository.

; If we have an old Makefile.PL, don't use it
[Run::BeforeBuild]
run = test -f Makefile.PL && rm Makefile.PL || echo Makefile.PL already removed

; Copy the new Makefile.PL into this directory and commit it if it's changed
[Run::AfterBuild]
run = cp %d/Makefile.PL ./
run = git status --porcelain | grep 'M Makefile.PL' && git commit -m 'auto-committed Makefile.PL by dist.ini' Makefile.PL || echo Makefile.PL up to date
run = git status --porcelain | grep 'M README.md'   && git commit -m 'auto-committed README.md by dist.ini' README.md   || echo README.md up to date

; eof for ~/.dzil/profiles/default/plugins.ini
