Changeset 19992
- Timestamp:
- 09/27/08 03:45:38 (5 years ago)
- Location:
- lang/perl/App-Starter/trunk
- Files:
-
- 19 added
- 2 modified
-
Changes (modified) (1 diff)
-
lib/App/Starter.pm (modified) (3 diffs)
-
sample/conf/module.yml (added)
-
sample/skel/module (added)
-
sample/skel/module/.shipit (added)
-
sample/skel/module/.svnignore (added)
-
sample/skel/module/Changes (added)
-
sample/skel/module/MANIFEST.SKIP (added)
-
sample/skel/module/Makefile.PL (added)
-
sample/skel/module/README (added)
-
sample/skel/module/lib (added)
-
sample/skel/module/lib/__module__.pm (added)
-
sample/skel/module/t (added)
-
sample/skel/module/t/00_compile.t (added)
-
sample/skel/module/xt (added)
-
sample/skel/module/xt/dependencies.t (added)
-
sample/skel/module/xt/perlcritic.t (added)
-
sample/skel/module/xt/pod.t (added)
-
sample/skel/module/xt/spelling.t (added)
-
t/01-create.t (added)
-
t/tmp (added)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/App-Starter/trunk/Changes
r9022 r19992 1 1 Revision history for App-Starter 2 3 0.14 2008-09-27T03:33:47+09:00 4 - yaml で key を設定すると name の引数で置き換えられるように変更 5 ex) kry: module とすると [* module *] や __module__ が $config->{name} に置き換わる 6 - 日本語で書いちゃってるけど、適当に置き換えて! >_< 7 - added test for created directory list. 2 8 3 9 0.13 2008-04-06/23:26 -
lang/perl/App-Starter/trunk/lib/App/Starter.pm
r9022 r19992 27 27 $config->{replace} = $self->{replace} ? $self->{replace} : {}; 28 28 $config->{ignore} = $self->{ignore} ? $self->{ignore} : []; 29 $config->{from} = $self->{from} if $self->{from};30 $config->{name} = $self->{name} if $self->{name};29 $config->{from} = $self->{from} if $self->{from}; 30 $config->{name} = $self->{name} if $self->{name}; 31 31 $config->{tag_style} = $self->{tag_style} if $self->{tag_style}; 32 32 $config->{template} = $self->{template} if $self->{template}; … … 67 67 push @{ $config->{ignore} }, @{ $config_from_file->{ignore} } 68 68 if $config_from_file->{ignore}; 69 } 70 71 if ( $config->{name} && $config->{key} ) { 72 $config->{replace}->{$config->{key}} = $config->{name}; 69 73 } 70 74 … … 188 192 189 193 name : my_app # ${current_dir}/my_app is created as new appication skeleton 194 key : app # override to replace key to name. $config->{replace}->{$config->{key}} = $config->{name} 190 195 from : /foo/bar/my-skell # where to fine your skel setup. if you use ~/.app-starter then you do not need this. 191 196 tag_style : star # SEE ALSO L<Template> TAG_STYLE OPTION
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)