[Bps-public-commit] net-lighthouse branch, master, updated. 3a0a5c4618aa15420142d1aab0eb230189d6d408

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Sep 8 20:57:51 EDT 2009


The branch, master has been updated
       via  3a0a5c4618aa15420142d1aab0eb230189d6d408 (commit)
      from  2ec48ebe9d39fdd1002bb9c5eb03a139ac6a5519 (commit)

Summary of changes:
 Makefile.PL |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 3a0a5c4618aa15420142d1aab0eb230189d6d408
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Sep 9 08:57:47 2009 +0800

    require Mouse => 0.28 unless there is Moose already

diff --git a/Makefile.PL b/Makefile.PL
index d2d14a5..3c689a6 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -14,6 +14,11 @@ requires 'YAML::Syck';
 requires 'DateTime';
 requires 'URI::Escape';
 
+eval { require Moose };
+if ($@) {
+    requires 'Mouse' => 0.28;
+}
+
 test_requires 'Test::More';
 test_requires 'Test::Mock::LWP';
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list