summaryrefslogtreecommitdiff
path: root/xt/CLI.pm
diff options
context:
space:
mode:
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>2011-10-14 00:31:34 +0900
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>2011-10-14 00:49:20 +0900
commit7a175948b8e8e1ab4c5e2bc487d02e28358fec7c (patch)
tree9f0544e669a8e54b6972585dce4091fcc72d9e91 /xt/CLI.pm
parentf1fec337f2206ec231cf645b98482d2fd150c15e (diff)
downloadcarton-7a175948b8e8e1ab4c5e2bc487d02e28358fec7c.tar.gz
remove Config framework, commands and alias
Diffstat (limited to 'xt/CLI.pm')
-rw-r--r--xt/CLI.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/xt/CLI.pm b/xt/CLI.pm
index aa8d06a..12bbbf3 100644
--- a/xt/CLI.pm
+++ b/xt/CLI.pm
@@ -10,7 +10,7 @@ sub cli {
chdir $dir;
my $app = Carton::CLI::Tested->new(dir => $dir);
- $app->config->define(section => "cpanm", name => "mirror", value => "$ENV{HOME}/minicpan", origin => 'test');
+ $app->carton->{mirror} = "$ENV{HOME}/minicpan";
return $app;
}
@@ -47,7 +47,6 @@ sub print {
sub run {
my($self, @args) = @_;
- delete $self->{config};
$self->{output} = '';
$self->{system_output} = capture_merged {
eval { $self->SUPER::run(@args) };