Tidy up
Tomas Doran [Thu, 16 Dec 2010 19:06:04 +0000 (19:06 +0000)]
.gitignore [new file with mode: 0644]
Build.PL [deleted file]
MANIFEST [deleted file]
Makefile.PL
README

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..aa7bd8a
--- /dev/null
@@ -0,0 +1,9 @@
+META.yml
+Makefile
+inc/
+pm_to_blib
+blib/
+MANIFEST
+Makefile.old
+MANIFEST.bak
+
diff --git a/Build.PL b/Build.PL
deleted file mode 100644 (file)
index a919ccc..0000000
--- a/Build.PL
+++ /dev/null
@@ -1,3 +0,0 @@
-# Dear Distribution Packager. This use of require is intentional.
-# Module::Install detects Build.PL usage and acts accordingly.
-require 'Makefile.PL';
diff --git a/MANIFEST b/MANIFEST
deleted file mode 100644 (file)
index 899483a..0000000
--- a/MANIFEST
+++ /dev/null
@@ -1,19 +0,0 @@
-ChangeLog
-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/Metadata.pm
-inc/Module/Install/Win32.pm
-inc/Module/Install/WriteAll.pm
-lib/MooseX/ConfigFromFile.pm
-Makefile.PL
-MANIFEST                       This list of files
-META.yml
-README
-t/01use.t
index 7d037bc..82038f9 100644 (file)
@@ -11,7 +11,7 @@ requires 'Moose'                      => '0.35';
 requires 'MooseX::Types::Path::Class' => '0.04';
 
 # Rebuild README for maintainers
-system("pod2text lib/MooseX/ConfigFromFile.pm >README") if -e 'MANIFEST.SKIP';
+system("pod2text lib/MooseX/ConfigFromFile.pm >README") if $Module::Install::AUTHOR;
 
 auto_provides;
 auto_install;
diff --git a/README b/README
index 9635b7d..b09fb52 100644 (file)
--- a/README
+++ b/README
@@ -9,10 +9,10 @@ SYNOPSIS
 
       package MooseX::SomeSpecificConfigRole;
       use Moose::Role;
-      
-  with 'MooseX::ConfigFromFile';
-      
-  use Some::ConfigFile::Loader ();
+  
+      with 'MooseX::ConfigFromFile';
+  
+      use Some::ConfigFile::Loader ();
 
       sub get_config_from_file {
         my ($class, $file) = @_;