Skip to content

Commit

Permalink
the script should be called my_app
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Nov 24, 2014
1 parent fe6ddcf commit ee38eb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

5.65 2014-11-23
5.65 2014-11-24

5.64 2014-11-22
- Fixed bug in Mojolicious::Commands where the global Getopt::Long
Expand Down
8 changes: 4 additions & 4 deletions lib/Mojolicious/Guides/Growing.pod
Expand Up @@ -145,7 +145,7 @@ organized CPAN distribution to maximize maintainability.

myapp # Application directory
|- script # Script directory
| +- myapp # Application script
| +- my_app # Application script
|- lib # Library directory
| |- MyApp.pm # Application class
| +- MyApp # Application namespace
Expand Down Expand Up @@ -725,8 +725,8 @@ Finally C<myapp.pl> can be replaced with a proper L<Mojolicious> script.

$ rm myapp.pl
$ mkdir script
$ touch script/myapp
$ chmod 744 script/myapp
$ touch script/my_app
$ chmod 744 script/my_app

Only a few small details change, since installable scripts can't use L<lib>
without breaking updated dual-life modules.
Expand Down Expand Up @@ -777,7 +777,7 @@ And our final directory structure should be looking like this.

myapp
|- script
| +- myapp
| +- my_app
|- lib
| |- MyApp.pm
| +- MyApp
Expand Down

0 comments on commit ee38eb0

Please sign in to comment.