.cvsignore
Build.PL
Changes
+examples/moose_room.pl
+inc/Module/AutoInstall.pm
inc/Module/Install.pm
+inc/Module/Install/AutoInstall.pm
inc/Module/Install/Base.pm
+inc/Module/Install/Build.pm
+inc/Module/Install/Can.pm
+inc/Module/Install/Fetch.pm
+inc/Module/Install/Include.pm
inc/Module/Install/Makefile.pm
-inc/Module/Install/MakeMaker.pm
inc/Module/Install/Metadata.pm
+inc/Module/Install/Win32.pm
+inc/Module/Install/WriteAll.pm
lib/MooseX/Daemonize.pm
+lib/Test/MooseX/Daemonize.pm
Makefile.PL
-MANIFEST
-META.yml # Will be created by "make dist"
+MANIFEST This list of files
+META.yml
README
t/00.load.t
t/01.filecreate.t
+t/02.stdout.t
t/kwalitee.t
t/perlcritic.t
t/pod-coverage.t
+# Load the Module::Install bundled in ./inc/
use inc::Module::Install;
-WriteMakefile(
- NAME => 'MooseX::Daemonize',
- AUTHOR => 'Chris Prather <perigrin@cpan.org>',
- VERSION_FROM => 'lib/MooseX/Daemonize.pm',
- ABSTRACT_FROM => 'lib/MooseX/Daemonize.pm',
- PL_FILES => {},
- PREREQ_PM => {
- 'Test::More' => 0,
- 'Proc::Daemon' => 0,
- 'Carp' => 0,
- 'File::Flock' => 0,
- 'File::Slurp' => 0,
- 'Moose' => 0.20,
- },
- dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
- clean => { FILES => 'MooseX-Daemonize-*' },
-);
+
+# Define metadata
+name 'MooseX-Daemonize';
+all_from 'lib/MooseX/Daemonize.pm';
+
+# Specific dependencies
+build_requires 'Test::More' => 0;
+requires 'Proc::Daemon' => 0;
+requires 'Carp' => 0;
+requires 'File::Flock' => 0;
+requires 'File::Slurp' => 0;
+requires 'Moose' => 0.20;
+
+no_index 'directory' => 'examples';
+
+auto_install;
+WriteAll;