X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=dist.ini;h=bd745bc6483828658f5f34b0ac01392b7f47076e;hb=5aa01536d904db571b1f02cc3e37d1ea30a73a7f;hp=e790c5ca55713f92fe8b0040f6712a6bdb2e430c;hpb=dc2a5fb62ad5844b7a4479dc30eb83874c86d71c;p=p5sagit%2FTry-Tiny.git diff --git a/dist.ini b/dist.ini index e790c5c..bd745bc 100644 --- a/dist.ini +++ b/dist.ini @@ -5,21 +5,43 @@ 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.119 +; 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 + +; 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 + +[OnlyCorePrereqs] +check_dual_life_versions = 0 -[Prereqs] -perl = 5.006 +[Breaks] +Try::Tiny::Except = <= 0.01 ; https://github.com/tfoertsch/perl-Try-Tiny-Except/issues/1 -[Prereqs / TestRecommends] -Capture::Tiny = 0.12 ; capture_stderr -Sub::Util = 0 +[Test::CheckBreaks] +:version = 0.018 +no_forced_deps = 1