dist.ini 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. name = TPSGI
  2. version = 0.001
  3. author = George S. Baugh <george@troglodyne.net>
  4. license = MIT
  5. copyright_holder = Troglodyne LLC
  6. copyright_year = 2026
  7. ; Simpler than doing include_dotfiles, and due to other dzil brain damage
  8. [Run::BeforeBuild]
  9. run = rm -rf .build/*
  10. [Run::Test]
  11. run = cp $(git rev-parse --show-toplevel)/.perltidyrc .perltidyrc
  12. run = cp $(git rev-parse --show-toplevel)/.perlcriticrc .perlcriticrc
  13. run = cp $(git rev-parse --show-toplevel)/.preferred_modules.ini .preferred_modules.ini
  14. run = cp $(git rev-parse --show-toplevel)/.pod_stopwords .pod_stopwords
  15. run = cp $(git rev-parse --show-toplevel)/LICENSE LICENSE
  16. run = echo .perltidyrc >> MANIFEST
  17. run = echo .perlcriticrc >> MANIFEST
  18. run = echo .preferred_modules.ini >> MANIFEST
  19. run = echo .pod_stopwords >> MANIFEST
  20. ; Only what git tracks. A working checkout of this is also a running
  21. ; installation, with log/, run/, prof/ and www/ full of one site's state, and
  22. ; GatherDir would ship all of it.
  23. [Git::GatherDir]
  24. exclude_match = cover_db/.+
  25. ; The hooks are for people working on this, not for anyone installing it.
  26. exclude_match = git-hooks/.+
  27. exclude_filename = LICENSE
  28. [MetaYAML]
  29. [MetaJSON]
  30. [License]
  31. [Readme]
  32. [InstallGuide]
  33. [ExtraTests]
  34. [ExecDir]
  35. [ShareDir]
  36. [MakeMaker]
  37. [Manifest]
  38. [PruneFiles]
  39. [PruneCruft]
  40. [ManifestSkip]
  41. [Git::Check]
  42. allow_dirty = dist.ini
  43. allow_dirty = Changes
  44. [Git::Commit / Release_Commit]
  45. allow_dirty = dist.ini
  46. allow_dirty = Changes
  47. add_files_in = /
  48. commit_msg = %v%n%n%c
  49. [Git::Tag]
  50. tag_format = %v
  51. tag_message = %v
  52. [Git::Push]
  53. [TestRelease]
  54. [ConfirmRelease]
  55. [UploadToCPAN]
  56. [MetaMergeFile]
  57. ; Reads prereqs.yml or prereqs.json and no other name: its filename option
  58. ; takes a list, and a single value from dist.ini arrives as a string it refuses.
  59. [PrereqsFile]
  60. [MetaNoIndex]
  61. directory = t
  62. [MetaProvides::Package]
  63. inherit_version = 0
  64. [AutoPrereqs]
  65. ; package NAME VERSION rather than a $VERSION line, which PkgVersion would put
  66. ; above use strict, where RequireUseStrict in the compat profile reports it.
  67. ; Needs 5.012, and neither profile allows a floor below 5.014.
  68. [PkgVersion]
  69. use_package = 1
  70. [PodWeaver]
  71. [Git::Contributors]
  72. [@TestingMania]
  73. critic_config = .perlcriticrc
  74. changelog = Changes
  75. disable = Test::Portability
  76. [CheckMetaResources]
  77. [CheckPrereqsIndexed]
  78. [CheckChangesHasContent]
  79. [GithubMeta]
  80. issues = 1
  81. user = Troglodyne-Internet-Widgets
  82. ; README.md is generated from the main module's POD. Do not write one by hand:
  83. ; you will end up with two, they will disagree, and on a case-insensitive
  84. ; checkout only one of them exists at all.
  85. [ReadmeAnyFromPod]
  86. type = gfm
  87. filename = README.md
  88. location = root
  89. ; `dzil authordeps` doesn't know about the Pod Weaver dependencies:
  90. ; authordep Pod::Weaver::Section::Contributors = 0
  91. ; authordep Pod::Weaver::Plugin::Encoding = 0
  92. ; authordep Pod::Weaver::Section::SeeAlso = 0
  93. ; authordep Pod::Weaver::Section::GenerateSection = 0
  94. ; authordep Pod::Elemental::Transformer::List = 0
  95. ; Nor about what the hooks in git-hooks/ run: tests-covering chooses the tests
  96. ; that a commit can break.
  97. ; authordep Perl::Tests::Covering = 0.002
  98. ; Nor are the perl-critic deps included...
  99. ; authordep Perl::Critic::Policy::Modules::RequirePerlVersion = 0
  100. ; authordep Perl::Critic::Policy::Documentation::RequirePod = 0
  101. ; authordep Perl::Critic::Policy::ValuesAndExpressions::PreventSQLInjection = 0
  102. ; authordep Perl::Critic::Policy::RegularExpressions::RequireDefault = 0
  103. ; authordep Perl::Critic::Policy::BuiltinFunctions::ProhibitDeleteOnArrays = 0
  104. ; authordep Perl::Critic::Policy::Subroutines::ProhibitAmbiguousFunctionCalls = 0
  105. ; authordep Perl::Critic::Policy::ValuesAndExpressions::ProhibitSingleArgArraySlice = 0
  106. ; authordep Perl::Critic::Policy::Bangs::ProhibitUselessRegexModifiers = 0
  107. ; authordep Perl::Critic::Policy::Bangs::ProhibitCommentedOutCode = 0
  108. ; authordep Perl::Critic::Policy::Tics::ProhibitUseBase = 0
  109. ; authordep Perl::Critic::Policy::Plicease::ProhibitLeadingZeros = 0
  110. ; authordep Perl::Critic::Policy::RegularExpressions::ProhibitEmptyAlternatives = 0
  111. ; authordep Perl::Critic::Policy::ValuesAndExpressions::UnexpandedSpecialLiteral = 0
  112. ; authordep Perl::Critic::Policy::CodeLayout::ProhibitIfIfSameLine = 0
  113. ; authordep Perl::Critic::Policy::ValuesAndExpressions::ConstantBeforeLt = 0
  114. ; authordep Perl::Critic::Policy::ValuesAndExpressions::ProhibitDuplicateHashKeys = 0
  115. ; authordep Perl::Critic::Policy::ValuesAndExpressions::ProhibitFiletest_f = 0
  116. ; authordep Perl::Critic::Policy::ValuesAndExpressions::ProhibitFiletest_rwxRWX = 0
  117. ; authordep Perl::Critic::Policy::CognitiveComplexity::ProhibitExcessCognitiveComplexity = 0
  118. ; authordep Perl::Critic::Policy::Variables::ProhibitUselessInitialization = 0
  119. ; authordep Perl::Critic::Policy::PreferredModules = 0
  120. ; authordep Perl::Critic::Policy::logicLAB::RequireSheBang = 0
  121. ; authordep Perl::Critic::Policy::logicLAB::ProhibitShellDispatch = 0
  122. ; authordep Perl::Critic::Policy::Performance::ProhibitRegexForSimpleSubstring = 0
  123. ; authordep Perl::Critic::Policy::RegularExpressions::ProhibitRegexToStripAffix = 0
  124. ; authordep Perl::Critic::Policy::RegularExpressions::ProhibitRegexToChomp = 0
  125. ; authordep Perl::Critic::Policy::BuiltinFunctions::ProhibitChainingSameListSub = 0
  126. ; authordep Perl::Critic::Policy::RegularExpressions::ProhibitRegexForStringEquality = 0
  127. ; authordep Perl::Critic::Policy::Subroutines::ProhibitUnderscorePrivateSubs = 0
  128. ; authordep Perl::Critic::Policy::Subroutines::ProhibitSingleUseLexicalSubs = 0
  129. ; authordep Perl::Critic::Policy::ValuesAndExpressions::ProhibitLiteralArithmetic = 0
  130. ; authordep Perl::Critic::Policy::BuiltinFunctions::ProhibitIndirectBooleanGrep = 0
  131. ; authordep Perl::Critic::Policy::ControlStructures::ProhibitMutatingListFunctionsStricter = 0
  132. ; authordep Perl::Critic::Policy::ControlStructures::ProhibitEmptyConditionalBlocks = 0
  133. ; authordep Perl::Critic::Policy::ErrorHandling::RequireCheckedIndirectResults = 0
  134. ; authordep Perl::Critic::Policy::CompileTime = 0
  135. ; authordep Perl::Critic::Policy::ProhibitPipeOpen = 0
  136. ; authordep Perl::Critic::Policy::ProhibitUseLib = 0
  137. ; authordep Perl::Critic::Policy::ProhibitUsageSubs = 0
  138. ; authordep Perl::Critic::Policy::RequireQwForLiteralLists = 0
  139. ; authordep Perl::Critic::Policy::ProhibitNoWarningsRedefine = 0
  140. ; authordep Perl::Critic::Policy::RequireFatalWarnings = 0
  141. ; authordep Perl::Critic::Policy::ProhibitUnusedImports = 0
  142. ; authordep Perl::Critic::Policy::ProhibitMisplacedMethods = 0
  143. ; authordep Perl::Critic::Policy::ProhibitPrintSTDERR = 0
  144. ; authordep Perl::Critic::Policy::InputOutput::ProhibitRepeatedPrints = 0
  145. ; authordep Perl::Critic::Policy::ValuesAndExpressions::ProhibitDefinedBeforeLength = 0
  146. ; authordep Perl::Critic::Policy::Variables::ProhibitUselessVarClearing = 0.001
  147. ; authordep Perl::Critic::Policy::Subroutines::ProhibitTailRecursion = 0.001
  148. ; authordep Perl::Critic::Policy::RegularExpressions::PreventUselessMetacharacterEscapes = 0
  149. ; authordep Perl::Critic::Policy::Variables::ProhibitUnusedVarsStricter = 0