
Test::AutoBuild::Cache - Caching of build results

use Test::AutoBuild::Cache;
my $cache = Test::AutoBuild::Cache->new(cache_root => $directory,
timestamp => $boolean);
my $up2date = $cache->test_cache($module);

This module provides caching for module builds. It caches installed files in the virtual root, generated packages, and status metadata.

my $cache = Test::AutoBuild::Cache->new(cache_root=> $directory, timestamp => $boolean);
Creates a new module cache in the directory specified by
cache_rootparameter. If thetimestampparameter evaluates to true, then when checking if a module cache is uptodate, it will compare the timestamps on every single file. This is overkill for most situations, since the respository module informs the build whether there were any changes in source control since previous build. In particular for CVS, this causes caching to fail altogether since 'cvs update' always touchs files in the 'CVS' directory.

Dennis Gregorovic <dgregorovic@alum.mit.edu>

Copyright (C) 2003-2004 Dennis Gregorovic <dgregorovic@alum.mit.edu>
