[Catalyst] Module::Install and PAR support
Sebastian Riedel
sri at oook.de
Sat Nov 19 16:21:29 CET 2005
We've moved trunk from Module::Build to Module::Install yesterday.
PAR generation is now triggered by the "catalyst_par()" statement in
Makefile.PL.
use inc::Module::Install;
name('MyApp');
abstract('Catalyst Application');
author('Sebastian Riedel');
version_from('lib/MyApp.pm');
license('perl');
requires( Catalyst => '5.57' );
install_script( glob('script/*.pl') );
tests( glob('t/*.t'), glob('t/*/*.t') );
catalyst_files();
catalyst_par();
&WriteAll;
All you have to do is run "perl Makefile.PL; make test; perl
Makefile.PL"
sri at odyssey:~/MyApp/ > perl Makefile.PL; make test; perl
Makefile.PL
include inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Scripts.pm
include inc/Module/Install/Makefile.pm
include inc/Module/Install/Catalyst.pm
Not writing PAR, "blib/lib/MyApp.pm" doesn't exist
include inc/Module/Install/WriteAll.pm
Writing META.yml
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Writing Makefile for MyApp
cp lib/MyApp.pm blib/lib/MyApp.pm
cp script/myapp_server.pl blib/script/myapp_server.pl
/opt/local/bin/perl -Iinc "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/myapp_server.pl
...
Writing PAR "myapp.par"
...
Cool, isn't it? :)
--
sebastian
More information about the Catalyst
mailing list