| 1 | name = Pod-Weaver-Section-Legal-Complicated |
| 2 | version = 1.23 |
| 3 | author = Carnë Draug <[email protected]> |
| 4 | license = GPL_3 |
| 5 | copyright_holder = Carnë Draug |
| 6 | copyright_year = 2013-2017 |
| 7 | |
| 8 | [@Filter] |
| 9 | -bundle = @Basic ; the basic to maintain and release CPAN distros |
| 10 | -remove = Readme ; avoid conflicts with ReadmeAnyFromPod |
| 11 | |
| 12 | [PruneFiles] |
| 13 | filename = HACKING |
| 14 | |
| 15 | ; we're actually dependent on Software::License::*, but we can't list them all, |
| 16 | ; and we don't know which one the user will need. Since the Software-License |
| 17 | ; distribution will have most of them, we mark it as dependency |
| 18 | [Prereqs] |
| 19 | Software::License = 0 |
| 20 | |
| 21 | [MetaJSON] ; produce a META.json |
| 22 | [PkgVersion] ; add a $version to the modules |
| 23 | [PodSyntaxTests] ; create a release test for Pod syntax |
| 24 | [Test::NoTabs] ; Author tests that ensure hard tabs are not used |
| 25 | [Test::Compile] ; test syntax of all modules |
| 26 | [PodCoverageTests] ; create release test for Pod coverage |
| 27 | [MojibakeTests] ; create release test for correct encoding |
| 28 | [AutoPrereqs] ; automatically find the dependencies |
| 29 | |
| 30 | ;; These are used in the dist.ini created by the testsuite. They are |
| 31 | ;; not actually used in the test script so AutoPrereqs misses them. |
| 32 | [Prereqs / TestRequires] |
| 33 | Software::License::Perl_5 = 0 |
| 34 | Software::License::GPL_3 = 0 |
| 35 | Software::License::MIT = 0 |
| 36 | |
| 37 | |
| 38 | [ReadmeFromPod] |
| 39 | type = text |
| 40 | readme = README |
| 41 | |
| 42 | [AutoMetaResources] ; automatically fill resources fields on metadata |
| 43 | repository.github = user:carandraug |
| 44 | bugtracker.github = user:carandraug |
| 45 | [MetaResources] |
| 46 | homepage = https://github.com/carandraug/pod-weaver-section-legal-complicated |
| 47 | bugtracker.mailto = [email protected] |
| 48 | |
| 49 | ;; t/main.t needs trailing whitespace for one of its tests. |
| 50 | [FileFinder::Filter / all_tests_not_needing_trailing_whitespace] |
| 51 | finder = :TestFiles |
| 52 | skip = t/main.t |
| 53 | [Test::EOL] ; Author tests making sure correct line endings are used |
| 54 | trailing_whitespace = 1 |
| 55 | ;; The default is :InstallModules, :ExecFiles, and :TestFiles |
| 56 | finder = :InstallModules |
| 57 | finder = :ExecFiles |
| 58 | finder = all_tests_not_needing_trailing_whitespace |
| 59 | |
| 60 | [PodWeaver] |
| 61 | |
| 62 | [NextRelease] ; update release number on Changes file |
| 63 | ; we can't use a filtered [@Git] (to remove [Git::Push]) because [@Filter] is |
| 64 | ; not yet able to deal with bundles that accept multiple values |
| 65 | [Git::Check] |
| 66 | allow_dirty = Changes |
| 67 | allow_dirty = dist.ini |
| 68 | [Git::Commit] |
| 69 | allow_dirty = Changes |
| 70 | allow_dirty = dist.ini |
| 71 | commit_msg = release of version %v |
| 72 | [Git::Tag] |