| 1 | package CPANPLUS::Config::YACSmoke; | ||
| 2 | $CPANPLUS::Config::YACSmoke::VERSION = '1.06'; | ||
| 3 | # Dist::Zilla: +PodWeaver | ||
| 4 | #ABSTRACT: Set the environment for YACSmoking | ||
| 5 | |||
| 6 | use strict; | ||
| 7 | use File::Spec; | ||
| 8 | |||
| 9 | sub setup { | ||
| 10 | my $conf = shift; | ||
| 11 | $conf->set_conf( base => File::Spec->catdir( $ENV{PERL5_YACSMOKE_BASE}, '.cpanplus' ) ) | ||
| 12 | if $ENV{PERL5_YACSMOKE_BASE}; | ||
| 13 | return 1; | ||
| 14 | } | ||
| 15 | |||
| 16 | 'YACSmoking'; | ||
| 17 | |||
| 18 | __END__ |