[Catalyst-commits] r10516 - in
Catalyst-Devel/1.00/branches/helper_refactor: lib/Catalyst share
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Fri Jun 12 09:00:12 GMT 2009
Author: t0m
Date: 2009-06-12 09:00:11 +0000 (Fri, 12 Jun 2009)
New Revision: 10516
Added:
Catalyst-Devel/1.00/branches/helper_refactor/share/README.tt
Removed:
Catalyst-Devel/1.00/branches/helper_refactor/share/README
Modified:
Catalyst-Devel/1.00/branches/helper_refactor/lib/Catalyst/Helper.pm
Log:
Fix Helper.pm, additional rename
Modified: Catalyst-Devel/1.00/branches/helper_refactor/lib/Catalyst/Helper.pm
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/lib/Catalyst/Helper.pm 2009-06-12 06:30:09 UTC (rev 10515)
+++ Catalyst-Devel/1.00/branches/helper_refactor/lib/Catalyst/Helper.pm 2009-06-12 09:00:11 UTC (rev 10516)
@@ -363,7 +363,7 @@
$self->{path} = File::Spec->catfile( 'lib', split( '::', $self->{name} ) );
$self->{path} .= '.pm';
my $dir = $self->{dir};
- $self->render_sharedir_file( 'makefile.tt', "$dir\/Makefile.PL" );
+ $self->render_sharedir_file( 'Makefile.PL.tt', "$dir\/Makefile.PL" );
if ( $self->{makefile} ) {
@@ -377,21 +377,21 @@
my $self = shift;
my $dir = $self->{dir};
my $appprefix = $self->{appprefix};
- $self->render_sharedir_file( 'config.tt',
+ $self->render_sharedir_file( 'myapp.conf.tt',
File::Spec->catfile( $dir, "$appprefix.conf" ) );
}
sub _mk_readme {
my $self = shift;
my $dir = $self->{dir};
- $self->render_sharedir_file( 'readme.tt', "$dir\/README" );
+ $self->render_sharedir_file( 'README.tt', "$dir\/README" );
}
sub _mk_changes {
my $self = shift;
my $dir = $self->{dir};
my $time = strftime('%Y-%m-%d %H:%M:%S', localtime time);
- $self->render_sharedir_file( 'changes.tt', "$dir\/Changes", { time => $time } );
+ $self->render_sharedir_file( 'Changes.tt', "$dir\/Changes", { time => $time } );
}
sub _mk_apptest {
Deleted: Catalyst-Devel/1.00/branches/helper_refactor/share/README
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/README 2009-06-12 06:30:09 UTC (rev 10515)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/README 2009-06-12 09:00:11 UTC (rev 10516)
@@ -1 +0,0 @@
-Run script/[% appprefix %]_server.pl to test the application.
Copied: Catalyst-Devel/1.00/branches/helper_refactor/share/README.tt (from rev 10515, Catalyst-Devel/1.00/branches/helper_refactor/share/README)
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/README.tt (rev 0)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/README.tt 2009-06-12 09:00:11 UTC (rev 10516)
@@ -0,0 +1 @@
+Run script/[% appprefix %]_server.pl to test the application.
More information about the Catalyst-commits
mailing list