summaryrefslogtreecommitdiff
path: root/xt/CLI.pm
diff options
context:
space:
mode:
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>2013-06-01 14:54:15 +0900
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>2013-06-01 14:54:15 +0900
commit5739372621f57e19b01cd0b0dbb47aeb89dabdac (patch)
treee6e31d17b03edf9451e7ca776245f088c961753e /xt/CLI.pm
parent1af46f4e61fe9e6a52cb382cef82197335c096b7 (diff)
downloadcarton-5739372621f57e19b01cd0b0dbb47aeb89dabdac.tar.gz
Fixed the way to build the list of mirrors.
Always use public CPAN as a fallback, even before BackPAN, so that modules not found in DarkPAN will go through looking up CPAN anyway. Stop cascading in bundle command since the lock file should have everything in theory.
Diffstat (limited to 'xt/CLI.pm')
-rw-r--r--xt/CLI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/xt/CLI.pm b/xt/CLI.pm
index 27ef0eb..c72191a 100644
--- a/xt/CLI.pm
+++ b/xt/CLI.pm
@@ -6,7 +6,7 @@ our @EXPORT = qw(run cli);
use Test::Requires qw( Directory::Scratch Capture::Tiny File::pushd );
sub cli {
- my $dir = Directory::Scratch->new();
+ my $dir = Directory::Scratch->new(CLEANUP => !$ENV{NO_CLEANUP});
Carton::CLI::Tested->new(dir => $dir);
}