projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c79239a
)
Extract inline tests when Makefile.PL is run, if we're not an end
Dave Rolsky [Wed, 18 Feb 2009 20:20:34 +0000 (20:20 +0000)]
user.
Makefile.PL
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.PL
b/Makefile.PL
index
9e90f74
..
382564e
100644
(file)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-20,6
+20,10
@@
requires 'Task::Weaken' => '0';
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();