Changeset 8953 for lang/perl/App-Starter

Show
Ignore:
Timestamp:
04/06/08 09:02:15 (8 months ago)
Author:
drry
Message:

lang/ruby/path_observer/trunk/lib/path_observer/observe_manager.rb
lang/ruby/path_observer/trunk/lib/path_observer/observer.rb
lang/ruby/path_observer/trunk/README
lang/ruby/date_time-duration/lib/date_time/duration.rb
lang/ruby/osxhotkey/README
lang/lua/bluasxom/lib/List.lua
lang/perl/Catalyst-Controller-AllowDisable?/trunk/lib/Catalyst/Controller/AllowDisable.pm
lang/perl/Catalyst-Controller-AllowDisable?/trunk/Makefile.PL
lang/perl/Catalyst-Controller-AllowDisable?/trunk/README
lang/perl/Catalyst-Helper-Lighty/trunk/LISENCE
lang/perl/Catalyst-Helper-Lighty/trunk/LICENSE
lang/perl/Catalyst-Helper-Lighty/trunk/MANIFEST
lang/perl/Catalyst-Plugin-FormValidator?-Lazy/trunk/lib/Catalyst/Plugin/FormValidator/Lazy.pm
lang/perl/Catalyst-Plugin-Log-Colorful/trunk/lib/Catalyst/Plugin/Log/Colorful.pm
lang/perl/WebService-Simple/trunk/lib/WebService/Simple.pm
lang/perl/WebService-Simple/trunk/lib/WebService/Simple/Response.pm
lang/perl/misc/bot-kouen-debyu.pl
lang/perl/misc/google_code_search.pl
lang/perl/misc/hatena-keyword.pl
lang/perl/Sledge-Plugin-FormValidator?-Lazy/trunk/lib/Sledge/Plugin/FormValidator/Lazy.pm
lang/perl/Net-OAuth-Consumer/trunk/lib/Net/OAuth/Consumer.pm
lang/perl/Net-Twitter-FriendFinder?/trunk/lib/Net/Twitter/FriendFinder/From/TwitterKensaku.pm
lang/perl/Net-Twitter-FriendFinder?/trunk/lib/Net/Twitter/FriendFinder/From/TwitterDiff.pm
lang/perl/Net-Twitter-FriendFinder?/trunk/lib/Net/Twitter/FriendFinder/From/Google.pm
lang/perl/Net-Twitter-FriendFinder?/trunk/lib/Net/Twitter/FriendFinder/From/Twitter.pm
lang/perl/Net-Twitter-FriendFinder?/trunk/lib/Net/Twitter/FriendFinder/From/URL.pm
lang/perl/Net-Twitter-FriendFinder?/trunk/lib/Net/Twitter/FriendFinder.pm
lang/perl/Data-LazyACL/trunk/lib/Data/LazyACL.pm
lang/perl/Data-LazyACL/trunk/README
lang/perl/Iterator-Simple/trunk/lib/Iterator/Simple.pm
lang/perl/WWW-Stickam-API/trunk/lib/WWW/Stickam/API.pm
lang/perl/WWW-Stickam-API/trunk/lib/WWW/Stickam/API/Media/Information.pm
lang/perl/WWW-Stickam-API/trunk/lib/WWW/Stickam/API/Search/User.pm
lang/perl/WWW-Stickam-API/trunk/lib/WWW/Stickam/API/Search/Media.pm
lang/perl/WWW-Stickam-API/trunk/lib/WWW/Stickam/API/Base.pm
lang/perl/WWW-Stickam-API/trunk/lib/WWW/Stickam/API/User/Video.pm
lang/perl/WWW-Stickam-API/trunk/lib/WWW/Stickam/API/User/Profile.pm
lang/perl/WWW-Stickam-API/trunk/lib/WWW/Stickam/API/User/Audio.pm
lang/perl/WWW-Stickam-API/trunk/lib/WWW/Stickam/API/User/Image.pm
lang/perl/Bundle-Porn/trunk/lib/Bundle/Porn.pm
lang/perl/Bundle-Porn/trunk/Makefile.PL
lang/perl/App-Starter/trunk/lib/App/Starter.pm
lang/perl/App-Starter/trunk/bin/app-starter.pl
lang/perl/App-Starter/trunk/bin/app-starter-catalyst.pl
lang/perl/Chaostr/trunk/lib/Chaostr/ValidateEm/Plugin/String.pm
lang/perl/Chaostr/trunk/lib/Catalyst/Plugin/FormValidateEm.pm
lang/perl/Chaostr/trunk/extlib
lang/perl/Acme-PSON/trunk/lib/Acme/PSON.pm
lang/perl/Acme-DRYCopyPaste/trunk/lib/Acme/DRYCopyPaste.pm
lang/perl/OAuth-Lite/trunk/lib/OAuth/Lite/Util.pm
lang/perl/MozRepl/trunk/lib/MozRepl/Plugin/JSON.pm
lang/perl/FormValidator-LazyWay?/trunk/lib/FormValidator/LazyWay/Plugin.pm
lang/perl/FormValidator-LazyWay?/trunk/lib/FormValidator/LazyWay/Results.pm
lang/perl/FormValidator-LazyWay?/trunk/lib/FormValidator/LazyWay.pm:

  • SYNOPSIS
Location:
lang/perl/App-Starter/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/App-Starter/trunk/bin/app-starter-catalyst.pl

    r8492 r8953  
    1 #!/usr/bin/perl  
     1#!/usr/bin/perl 
    22 
    33use strict; 
     
    1717app-starter-catalyst.pl - App::Starter script file. 
    1818 
    19 =head1 SYNOPSYS 
     19=head1 SYNOPSIS 
    2020 
    2121 app-starter-catalyst.pl --template  --name MyApp 
     
    3535=cut 
    3636 
    37  
    38  
  • lang/perl/App-Starter/trunk/bin/app-starter.pl

    r8492 r8953  
    1 #!/usr/bin/perl  
     1#!/usr/bin/perl 
    22 
    33use strict; 
     
    2020app-script.pl - App::Starter script file. 
    2121 
    22 =head1 SYNOPSYS 
     22=head1 SYNOPSIS 
    2323 
    2424 app-script.pl --config conf/your-config.yml --name my_application 
     
    3838=cut 
    3939 
    40  
    41  
  • lang/perl/App-Starter/trunk/lib/App/Starter.pm

    r8498 r8953  
    3939        my $conf_file = ''; 
    4040        if (-e  File::Spec->catfile( $ENV{HOME}, '/.app-starter/conf', $config->{template} . '.yml' ) ) { 
    41             $conf_file =  File::Spec->catfile( $ENV{HOME}, '/.app-starter/conf', $config->{template} . '.yml' ) ;     
     41            $conf_file = File::Spec->catfile( $ENV{HOME}, '/.app-starter/conf', $config->{template} . '.yml' ) ; 
    4242        } 
    4343        else { 
    44             $conf_file = File::Spec->catfile(  $ENV{HOME}, '/.app-starter/conf', $config->{template} . '.yaml' ); 
     44            $conf_file = File::Spec->catfile( $ENV{HOME}, '/.app-starter/conf', $config->{template} . '.yaml' ); 
    4545        } 
    4646 
     
    112112    if ( -d $name ) { 
    113113        $name =~ s/$from//; 
    114         $name =~ s/^\///; 
     114        $name =~ s{^/}{}; 
    115115        push @{ $self->{dirs} }, $name; 
    116116    } 
    117117    else { 
    118118        $name =~ s/$from//; 
    119         $name =~ s/^\///; 
     119        $name =~ s{^/}{}; 
    120120        push @{ $self->{files} }, $name; 
    121121    } 
     
    129129App::Starter - App Starter 
    130130 
    131 =head1 SYNPSYS 
     131=head1 SYNOPSIS 
    132132 
    133133 
     
    136136 # or 
    137137 # from = 'tmp/a' , replace => { module => 'MyApp' } overwrite config.yml setting. 
    138  my $app = App::Starter->new( { config => ' /home/tomyhero/work/App-Starter/conf/config.yml' , from => '/tmp/a' , name => 'my_app' , replace => { module => 'MyApp' } } )->create; 
    139   
    140  # or even you can use ~/.app-sterter  
     138 my $app = App::Starter->new( { config => '/home/tomyhero/work/App-Starter/conf/config.yml' , from => '/tmp/a' , name => 'my_app' , replace => { module => 'MyApp' } } )->create; 
     139 
     140 # or even you can use ~/.app-sterter 
    141141 
    142142 #~/.app-starter 
     
    154154=head1 DESCRIPTION 
    155155 
    156 you can start your application quickly once you craete skelton with this module. This module only does is rename key to value. in your template file , you can set like this  [% key_name %] 
     156you can start your application quickly once you craete skelton with this module. This module only does is rename key to value. in your template file, you can set like this  [% key_name %] 
    157157which replace with value you set in config. and also you can use __key_name__ format as file or directory name which replace as rule you set at config 
    158158 
     
    165165    - \.svn 
    166166    - \.cvs 
    167  replace :   # rule for replace key : value  
     167 replace :   # rule for replace key : value 
    168168    module : MyApp 
    169169 
     
    180180=head1 AUTHOR 
    181181 
    182 Tomohiro Teranishi<tomohiro.teranishi@gmail.com> 
     182Tomohiro Teranishi <tomohiro.teranishi@gmail.com> 
    183183 
    184184dann