; Changes per dist
name    = sanity
license = Artistic_2_0

; Should never change
author  = Brendan Byrd <BBYRD@CPAN.org>
copyright_holder = Brendan Byrd

[ReportPhase]

; Makefile.PL maker
[MakeMaker]

[Git::NextVersion]
first_version = 0.9

[Git::GatherDir]

; File modifiers
[OurPkgVersion]

; File pruners
[PruneCruft]

; Extra file creation
[GitFmtChanges]
[ManifestSkip]
[Manifest]
[License]
[ReadmeAnyFromPod / ReadmeHtmlInBuild]
[ReadmeAnyFromPod / ReadmePodInBuild]
[InstallGuide]
[ExecDir]

; t/* tests
[Test::Compile]

; POD tests
;[PodCoverageTests]   ; no methods; nothing should be covered
[PodSyntaxTests]
;[Test::PodSpelling]  ; Win32 install problems
[PodWeaver]
config_plugin = @Default

; Other xt/* tests
[RunExtraTests]
;[MetaTests]  ; until Test::CPAN::Meta supports 2.0
[NoTabsTests]
[Test::EOL]
trailing_whitespace = 0

[Test::Portability]
options = test_one_dot = 0

[ReportVersions::Tiny]
;[Test::CheckManifest]  ; RT #78435

; Prereqs
[AutoPrereqs]
[Prereqs]
; Just for sanity
-phase        = runtime
-relationship = recommends

namespace::clean     = 0
namespace::functions = 0
namespace::autoclean = 0

autovivification = 0
indirect         = 0
multidimensional = 0
bareword::filehandles = 0

criticism  = 0
perl5i     = 0
subs::auto = 0
utf8::all  = 0
IO::All    = 0
Carp       = 0
vendorlib  = 0
true       = 0
autolocale = 0
Toolkit    = 0

[PrereqsClean]
;minimum_perl = 5.10.1  ; Use default one for sanity

[CheckPrereqsIndexed]

; META maintenance
[MetaConfig]
[MetaJSON]
[MetaYAML]
version = 2

[MetaNoIndex]
directory = t
directory = xt
directory = examples
directory = corpus

[MetaProvides::Package]
meta_noindex = 1        ; respect prior no_index directives

[MetaResourcesFromGit]
x_irc          = irc://irc.perl.org/#sanity
bugtracker.web = https://github.com/%a/%r/issues

; Post-build plugins
[CopyFilesFromBuild]
move = .gitignore
copy = README.pod

; Post-build Git plugins
[TravisYML]
test_min_deps = 1
notify_email  = 0
notify_irc    = 1

[Git::CheckFor::CorrectBranch]
[@Git]
allow_dirty = dist.ini
allow_dirty = .travis.yml
allow_dirty = README.pod
changelog =
commit_msg = Release v%v

[Git::CommitBuild]

[TestRelease]
[ConfirmRelease]
[UploadToCPAN]
[InstallRelease]
[Clean]
