mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-07-01 17:09:38 +02:00
BUGFIX: Fixed code for regenerating cached test manifest.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@84971 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5829c86947
commit
90598e32d3
|
@ -77,9 +77,9 @@ class ManifestBuilder {
|
||||||
|
|
||||||
// The dev/build reference is some coupling but it solves an annoying bug
|
// The dev/build reference is some coupling but it solves an annoying bug
|
||||||
if(!file_exists($testManifestFile)
|
if(!file_exists($testManifestFile)
|
||||||
|| (filemtime($testManifestFile) < filemtime($testManifestFile))
|
|| (filemtime($testManifestFile) < filemtime(BASE_PATH))
|
||||||
|| isset($_GET['flush'])) {
|
|| isset($_GET['flush'])) {
|
||||||
|
|
||||||
// Build the manifest, including the tests/ folders
|
// Build the manifest, including the tests/ folders
|
||||||
$manifestInfo = self::get_manifest_info(BASE_PATH);
|
$manifestInfo = self::get_manifest_info(BASE_PATH);
|
||||||
$manifest = self::generate_php_file($manifestInfo);
|
$manifest = self::generate_php_file($manifestInfo);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user