| 1 | name = TimeDate |
| 2 | author = Graham <[email protected]> |
| 3 | license = Perl_5 |
| 4 | copyright_holder = Graham Barr |
| 5 | copyright_year = 2020 |
| 6 | |
| 7 | ;[PPPort] |
| 8 | |
| 9 | ;[PkgVersion] |
| 10 | [OurPkgVersion] |
| 11 | [Test::Compile] |
| 12 | xt_mode = 1 |
| 13 | |
| 14 | [MetaTests] |
| 15 | [Test::NoTabs] |
| 16 | [PodSyntaxTests] |
| 17 | [Test::ReportPrereqs] |
| 18 | [PodWeaver] |
| 19 | [RunExtraTests] |
| 20 | [MetaJSON] |
| 21 | |
| 22 | ;[MinimumPerlFast] |
| 23 | ;min = 5.010 ; undocumented config! |
| 24 | ;max = 5.010 ; undocumented config! |
| 25 | |
| 26 | [MetaConfig] |
| 27 | |
| 28 | [MetaProvides::Package] |
| 29 | |
| 30 | [NextRelease] |
| 31 | filename = Changes |
| 32 | |
| 33 | ;[Prereqs::FromCPANfile] |
| 34 | ;[Prereqs / RuntimeRecommends] |
| 35 | [Prereqs / RuntimeRequires] |
| 36 | Carp = 0 |
| 37 | |
| 38 | ;[Prereqs / TestRecommends] |
| 39 | [Prereqs / TestRequires] |
| 40 | ;Test2::Bundle::Extended = 0 |
| 41 | ;Test2::Tools::Explain = 0 |
| 42 | ;Test2::Plugin::NoWarnings = 0 |
| 43 | ;Devel::Peek = 0 |
| 44 | |
| 45 | [TestRelease] |
| 46 | |
| 47 | [Test::MinimumVersion] |
| 48 | max_target_perl = 5.010 |
| 49 | |
| 50 | [@Git] |
| 51 | allow_dirty = Changes |
| 52 | allow_dirty = dist.ini |
| 53 | allow_dirty = README.md |
| 54 | add_files_in = Changes |
| 55 | add_files_in = dist.ini |
| 56 | add_files_in = README.md |
| 57 | |
| 58 | push_to = origin |
| 59 | push_to = origin HEAD:refs/heads/released ; also push to released branch |
| 60 | |
| 61 | [Run::BeforeBuild] |
| 62 | ; force to refresh Makefile.PL for every build [not really necessary as we have one exclude_filename] |
| 63 | ; run = ( test -f Makefile.PL && rm Makefile.PL ) ||: |
| 64 | |
| 65 | [Run::AfterBuild] |
| 66 | ; provide a friendly Makefile.PL in our repo |
| 67 | ; very useful so Travis CI can use it without installing Dist::Zilla::* |
| 68 | run = cp %d/Makefile.PL ./ |
| 69 | run = git status --porcelain | grep 'M Makefile.PL' && git commit -m 'Makefile.PL auto-updated by dist.ini' Makefile.PL && echo "# Makefile.PL auto-update" || echo "# Makefile.PL up to date" |
| 70 | |
| 71 | [Git::NextVersion] |
| 72 | |
| 73 | [@Filter] |
| 74 | -bundle = @Basic |
| 75 | ;-remove = AutoPrereqs |
| 76 | -remove = ExtraTests |
| 77 | -remove = GatherDir |
| 78 | |
| 79 | [GatherDir] |
| 80 | exclude_filename = Makefile.PL |
| 81 | exclude_filename = CLAUDE.md |
| 82 | ;exclude_filename = ppport.h |
| 83 | |
| 84 | ; -- static meta-information |
| 85 | [MetaResources] |
| 86 | bugtracker.web = https://github.com/cpan-authors/TimeDate/issues |
| 87 | repository.url = https://github.com/cpan-authors/TimeDate.git |
| 88 | repository.web = https://github.com/cpan-authors/TimeDate |
| 89 | repository.type = git |
| 90 | |
| 91 | [PruneFiles] |
| 92 | match = ~$ ; emacs backup files |
| 93 | |
| 94 | ;[PodCoverageTests] |
| 95 | ;[Test::EOL] |
| 96 | |
| 97 | ; still a work in progress |
| 98 | ;[Test::TidyAll] |
| 99 | ;minimum_perl = 5.010 |
| 100 | ;jobs = 1 |
| 101 | ;verbose = 1 |
| 102 | |
| 103 | [InsertExample] |
| 104 | [Test::Synopsis] |
| 105 | [ReadmeAnyFromPod] |
| 106 | type = gfm |
| 107 | filename = README.md |
| 108 | location = root |