more testing and hardcoded ignores

This commit is contained in:
2015-04-10 15:04:16 +01:00
parent dfe53b72a4
commit fe38f75694
3 changed files with 142 additions and 6 deletions
+12
View File
@@ -194,6 +194,11 @@ sub _metadata_from_file {
my ( $filename, $dirs, $suffix ) =
File::Basename::fileparse( $rel_path, qr/(\.[^.]*?){1,2}/ );
my $ignored_suffixes = '\.map$';
if ( $suffix =~ /$ignored_suffixes/ ) {
return;
}
$self->full_digest->add( $rel_path, $fingerprint, );
return {
'full_path' => $full_path,
@@ -391,6 +396,13 @@ sub _get_content {
return $minified || $original;
}
sub _run_precompiler {
my $self = shift;
my %args = @_;
my $asset = $args{'asset'};
}
sub _check_refresh_file {
my $self = shift;
my $asset = shift;