Mailing List Archive

r3754 - trunk/perl/buildlib/Lucy
Author: creamyg
Date: 2008-08-23 21:36:45 -0700 (Sat, 23 Aug 2008)
New Revision: 3754

Modified:
trunk/perl/buildlib/Lucy/Build.pm
Log:
Don't bother parsing Boilerplater files if everything's up to date.


Modified: trunk/perl/buildlib/Lucy/Build.pm
===================================================================
--- trunk/perl/buildlib/Lucy/Build.pm 2008-08-24 04:16:37 UTC (rev 3753)
+++ trunk/perl/buildlib/Lucy/Build.pm 2008-08-24 04:36:45 UTC (rev 3754)
@@ -332,6 +332,14 @@
}
}

+ # Don't bother parsing Boilerplater files if everything's up to date.
+ my $bp_filepaths = $self->rscan_dir( $C_SOURCE_DIR, qr/\.bp$/ );
+ return
+ if $self->up_to_date(
+ [ @$bp_filepaths, @$pm_filepaths ],
+ [ $XS_FILEPATH, $H_SOURCE_DIR ]
+ );
+
my $session = Boilerplater::Session->new(
base_dir => $C_SOURCE_DIR,
dest_dir => $H_SOURCE_DIR,


_______________________________________________
kinosearch-commits mailing list
kinosearch-commits@rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch-commits