fixed up MANIFEST so that debuild passes ; not running tests unless environment varia...
authorC.J. Adams-Collier <cjac@colliertech.org>
Tue, 23 Sep 2014 20:47:09 +0000 (13:47 -0700)
committerC.J. Adams-Collier <cjac@colliertech.org>
Tue, 23 Sep 2014 20:47:09 +0000 (13:47 -0700)
MANIFEST
t/Business-OnlinePayment-Exact.t

index b4e439c..c6b268a 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -4,4 +4,6 @@ MANIFEST
 README
 t/Business-OnlinePayment-Exact.t
 lib/Business/OnlinePayment/Exact.pm
-META.yml                                 Module meta-data (added by MakeMaker)
+
+META.yml                                 Module YAML meta-data (added by MakeMaker)
+META.json                                Module JSON meta-data (added by MakeMaker)
index f51520a..6fe16fc 100644 (file)
@@ -7,7 +7,16 @@
 
 use Test::More;
 use Term::ReadLine;
-BEGIN { use_ok('Business::OnlinePayment::Exact') };
+
+BEGIN {
+  unless ( $ENV{RELEASE_TESTING} ) {
+    my $msg = 'Author test.  Set $ENV{RELEASE_TESTING} to a true value to run.';
+    plan( skip_all => $msg );
+    done_testing();
+    exit(0);
+  }
+  use_ok('Business::OnlinePayment::Exact');
+};
 
 #########################