[Moose-commits] r7137 - in Mouse/trunk: . author
sartak at code2.0beta.co.uk
sartak at code2.0beta.co.uk
Sun Dec 21 22:54:08 GMT 2008
Author: sartak
Date: 2008-12-21 14:54:08 -0800 (Sun, 21 Dec 2008)
New Revision: 7137
Added:
Mouse/trunk/author/munge-tests-for-moose.pl
Modified:
Mouse/trunk/
Log:
r77720 at onn: sartak | 2008-12-21 17:54:02 -0500
Add the script I've been using to munge tests to run against Moose
Property changes on: Mouse/trunk
___________________________________________________________________
Name: svk:merge
- 08e7d58d-de06-4458-8c15-335e402ab116:/local/Mouse:77715
08e7d58d-de06-4458-8c15-335e402ab116:/local/Mouse-trunk:61565
3efe9002-19ed-0310-8735-a98156148065:/Mouse/branches/shika-based:6997
+ 08e7d58d-de06-4458-8c15-335e402ab116:/local/Mouse:77720
08e7d58d-de06-4458-8c15-335e402ab116:/local/Mouse-trunk:61565
3efe9002-19ed-0310-8735-a98156148065:/Mouse/branches/shika-based:6997
Added: Mouse/trunk/author/munge-tests-for-moose.pl
===================================================================
--- Mouse/trunk/author/munge-tests-for-moose.pl (rev 0)
+++ Mouse/trunk/author/munge-tests-for-moose.pl 2008-12-21 22:54:08 UTC (rev 7137)
@@ -0,0 +1,12 @@
+#!/usr/bin/env perl -pl
+use strict;
+use warnings;
+
+BEGIN {
+ @ARGV = glob('t/*.t t/*/*.t');
+ $^I = '';
+}
+
+s/Mouse/Moose/g;
+s/Moose::(load_class|is_class_loaded)/Class::MOP::$1/g;
+
Property changes on: Mouse/trunk/author/munge-tests-for-moose.pl
___________________________________________________________________
Name: svn:executable
+ *
More information about the Moose-commits
mailing list