X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=dist.ini;h=4bb8651427262509a31f32d8f140a1025871fbda;hb=25a6033f03136c9ed42360390000c655ec7f63f2;hp=a87bf790a7866d8be43ffe07367473911b109980;hpb=a2023f045cea8d8a21dbaa1b03b7eb52adbe8b4f;p=p5sagit%2FTry-Tiny.git diff --git a/dist.ini b/dist.ini index a87bf79..4bb8651 100644 --- a/dist.ini +++ b/dist.ini @@ -5,22 +5,36 @@ license = MIT copyright_holder = יובל קוג'מן (Yuval Kogman) copyright_year = 2009 +[FileFinder::Filter / all_files_but_using_5.10_features] +finder = :TestFiles +skip = t/given_when.t +skip = t/when.t + [@Author::ETHER] -installer = MakeMaker +:version = 0.094 +; instead of using the remote: origin = p5sagit@git.shadowcat.co.uk:Sub-Name.git, +; use the read-only mirror remote: github = git@github.com:p5sagit/Sub-Name.git +; so we can receive github pull requests +server = github +GithubMeta.remote = github +installer = MakeMaker ; stay 5.6-friendly Authority.authority = cpan:NUFFIN ; tests optionally require 5.010 -AutoPrereqs.skip[0] = ^perl$ -; tests for optional Sub::Name stuff -AutoPrereqs.skip[1] = ^Sub::Name$ -AutoPrereqs.skip[2] = ^Sub::Util$ -; tests optionally require Capture::Tiny -AutoPrereqs.skip[3] = ^Capture::Tiny$ --remove = Test::MinimumVersion ; t/given_when.t implies needing 5.010 +AutoPrereqs.skip = ^perl$ +MinimumPerl.test_finder = all_files_but_using_5.10_features -remove = Test::CleanNamespaces -[Prereqs] -perl = 5.006 +; TODO: make this an option of [Test::MinimumVersion] +[Substitute] +file = xt/release/minimum-version.t +code = s/^(all_minimum_version_ok\([^)]+)(\s*\);)/$1, { skip => [qw(t\/given_when\.t t\/when\.t)] }$2/ + +[Prereqs::Soften] +to_relationship = suggests +copy_to = develop.requires +module = Capture::Tiny ; capture_stderr +module = Sub::Name +module = Sub::Util -[Prereqs / TestRecommends] -Capture::Tiny = 0.12 ; capture_stderr -Sub::Util = 0 +[OnlyCorePrereqs] +check_dual_life_versions = 0