image is returned, not written w/o out_file (bug #71398)
[dbsrgits/SQL-Translator.git] / Makefile.PL
index 148fec7..190e50d 100644 (file)
@@ -1,4 +1,4 @@
-use inc::Module::Install 0.91;
+use inc::Module::Install 1.00;
 use strict;
 use warnings;
 
@@ -20,7 +20,9 @@ my $deps = {
     'DBI'                      => 0,
     'File::ShareDir'           => 1.0,
     'File::Spec'               => 0,
+    'Scalar::Util'             => 0,
     'XML::Writer'              => 0.500,
+    'Moo'                      => 0.009007,
   },
   recommends => {
     'Template'                 => 2.20,
@@ -47,14 +49,13 @@ name        'SQL-Translator';
 author      'Ken Youens-Clark <kclark@cpan.org>';
 abstract    'SQL DDL transformations and more';
 license     'gpl';
-repository  'https://sqlfairy.svn.sourceforge.net/svnroot/sqlfairy';
+repository  'git://git.shadowcat.co.uk/dbsrgits/SQL-Translator.git';
 bugtracker  'http://rt.cpan.org/NoAuth/Bugs.html?Dist=SQL-Translator';
 
 resources Ratings => 'http://cpanratings.perl.org/d/SQL-Translator';
 
 all_from    'lib/SQL/Translator.pm';
 
-
 for my $type (qw/requires recommends test_requires/) {
   no strict qw/refs/;
   my $f = \&$type;
@@ -87,7 +88,6 @@ if ($Module::Install::AUTHOR) {
 
 WriteAll();
 
-
 sub _recompile_grammars {
   # placeholder, will be used to recompile P::RD parsers before shipping
   # will also allow to lose dependency on P::RD
@@ -125,18 +125,21 @@ sub _recreate_rt_source {
   };
 
   if ($@) {
-    print <<EOE;
+    warn <<EOE;
 
 =========================================================================
-===============              FATAL ERROR                =================
+===============              WARNING !!!                =================
 =========================================================================
 
 Unable to update the roundtrip schema (attempt triggered by AUTHOR mode).
-Aborting Makefile generation.
+We will still generate a Makefile, but be aware that if you build a dist
+this way, it *WILL* be broken.
 
+-------------------------------------------------------------------------
 $@
 
+Press Enter to continue.
 EOE
-    exit 1;
+  <>;
   }
 }