Add support for optional monotonically increasing sqlite autoincrement
[dbsrgits/SQL-Translator.git] / Makefile.PL
index 8fcabde..1e32c50 100644 (file)
@@ -12,13 +12,14 @@ my $deps = {
     'Digest::SHA'              => '0',
     'Carp::Clan'               => '0',
     'Parse::RecDescent'        => '1.967009',
-    'DBI'                      => '0',
+    'DBI'                      => '1.54',
     'File::ShareDir'           => '1.0',
     'Moo'                      => '1.000003',
     'Package::Variant'         => '1.001001',
     'Sub::Quote'               => '0',
     'Try::Tiny'                => '0.04',
     'List::MoreUtils'          => '0.09',
+    'Scalar::Util'             => '0',
   },
   recommends => {
     'Template'                 => '2.20',
@@ -30,11 +31,13 @@ my $deps = {
     'XML::LibXML'              => '1.69',
   },
   test_requires => {
+    'JSON'                     => '2.0',
     'YAML'                     => '0.66',
     'XML::Writer'              => '0.500',
     'Test::More'               => '0.88',
     'Test::Differences'        => '0',
     'Test::Exception'          => '0.31',
+    'Text::ParseWords'         => '0',
   },
 };
 
@@ -43,10 +46,11 @@ name        'SQL-Translator';
 author      'Ken Youens-Clark <kclark@cpan.org>';
 abstract    'SQL DDL transformations and more';
 license     'perl';
-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';
+resources    repository => 'https://github.com/dbsrgits/sql-translator/';
+resources    bugtracker => 'https://rt.cpan.org/NoAuth/Bugs.html?Dist=SQL-Translator';
+resources    Ratings    => 'http://cpanratings.perl.org/d/SQL-Translator';
+resources    IRC        => 'irc://irc.perl.org/#sql-translator';
 
 Meta->{values}{x_authority} = 'cpan:JROBINSON';
 
@@ -189,21 +193,19 @@ sub _recreate_rt_source {
   };
 
   if ($@) {
-    warn <<EOE;
+    die <<EOE;
 
 =========================================================================
 ===============              WARNING !!!                =================
 =========================================================================
 
 Unable to update the roundtrip schema (attempt triggered by AUTHOR mode).
-We will still generate a Makefile, but be aware that if you build a dist
-this way, it *WILL* be broken.
+Aborting Makefile generation, please fix the errors indicated below
+(typically by installing the missing modules).
 
 -------------------------------------------------------------------------
 $@
 
-Press Enter to continue.
 EOE
-  <>;
   }
 }