[Jifty-commit] r1066 - in jifty/trunk: lib/Jifty/Script
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon May 15 17:28:24 EDT 2006
Author: alexmv
Date: Mon May 15 17:28:23 2006
New Revision: 1066
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Script/Plugin.pm
Log:
r13019 at zoq-fot-pik: chmrr | 2006-05-15 17:25:14 -0400
* Wording fixes
Modified: jifty/trunk/lib/Jifty/Script/Plugin.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Script/Plugin.pm (original)
+++ jifty/trunk/lib/Jifty/Script/Plugin.pm Mon May 15 17:28:23 2006
@@ -38,8 +38,8 @@
=head2 run
-Create a directory for the application, a skeleton directory
-structure, and a C<Makefile.PL> for you application.
+Create a directory for the plugin, a skeleton directory structure, and
+a C<Makefile.PL> for your plugin.
=cut
@@ -48,7 +48,7 @@
$self->prefix( $self->{name} ||'');
- unless ($self->prefix =~ /\w+/ ) { die "You need to give your new Jifty app a --name"."\n";}
+ unless ($self->prefix =~ /\w+/ ) { die "You need to give your new Jifty plugin a --name"."\n";}
$self->prefix( $self->prefix );
# Turn my-plugin-name into My::Plugin::Name.
@@ -124,7 +124,7 @@
@dirs = (@dirs, $self->_directories);
foreach my $dir (@dirs) {
- $dir =~ s/__APP__/$self->lib_dir/e;
+ $dir =~ s/__LIB__/$self->lib_dir/e;
print("Creating directory $dir\n");
mkdir( $self->prefix."/$dir") or die "Can't create ". $self->prefix."/$dir: $!";
}
@@ -138,8 +138,8 @@
share/web
share/web/templates
share/web/static
- lib/__APP__/Model
- lib/__APP__/Action
+ lib/__LIB__/Model
+ lib/__LIB__/Action
t
);
}
More information about the Jifty-commit
mailing list