[Moose-commits] r7721 - Moose/trunk

autarch at code2.0beta.co.uk autarch at code2.0beta.co.uk
Wed Feb 18 20:20:34 GMT 2009


Author: autarch
Date: 2009-02-18 12:20:34 -0800 (Wed, 18 Feb 2009)
New Revision: 7721

Modified:
   Moose/trunk/Makefile.PL
Log:
Extract inline tests when Makefile.PL is run, if we're not an end
user.


Modified: Moose/trunk/Makefile.PL
===================================================================
--- Moose/trunk/Makefile.PL	2009-02-18 20:19:08 UTC (rev 7720)
+++ Moose/trunk/Makefile.PL	2009-02-18 20:20:34 UTC (rev 7721)
@@ -20,6 +20,10 @@
 test_requires 'Test::More'      => '0.77';
 test_requires 'Test::Exception' => '0.21';
 
+if ( -d '.svn' || -d '.git' || $ENV{IS_MAINTAINER} ) {
+    system( $^X, 'extract-inline-tests' );
+}
+
 tests_recursive();
 
 WriteAll();




More information about the Moose-commits mailing list