diff options
author | Tatsuhiko Miyagawa <miyagawa@bulknews.net> | 2011-10-14 00:31:34 +0900 |
---|---|---|
committer | Tatsuhiko Miyagawa <miyagawa@bulknews.net> | 2011-10-14 00:49:20 +0900 |
commit | 7a175948b8e8e1ab4c5e2bc487d02e28358fec7c (patch) | |
tree | 9f0544e669a8e54b6972585dce4091fcc72d9e91 /xt/CLI.pm | |
parent | f1fec337f2206ec231cf645b98482d2fd150c15e (diff) | |
download | carton-7a175948b8e8e1ab4c5e2bc487d02e28358fec7c.tar.gz |
remove Config framework, commands and alias
Diffstat (limited to 'xt/CLI.pm')
-rw-r--r-- | xt/CLI.pm | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) }; |