$map = array();
foreach ($files as $file => $hash) {
- if (basename($file) == '__init__.php') {
- // TODO: Remove this once we kill __init__.php. This just makes the
- // script run faster until we do, so testing and development is less
- // annoying.
- continue;
- }
-
$file = Filesystem::readablePath($file, $root);
$file = ltrim($file, '/');
continue;
}
+ if (dirname($file) == 'extensions') {
+ // Ignore files in the extensions/ directory.
+ continue;
+ }
+
// We include also filename in the hash to handle cases when the file is
// moved without modifying its content.
$map[$file] = md5($hash.$file);