Skip to content
Browse files

honor ignore_re with .giv files

  • Loading branch information...
1 parent fea1c5f commit 2450cb2349773e6e5aafc714003a30507b3630fe Steve Sanbeg committed with Mar 31, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 bin/cover
View
4 bin/cover
@@ -278,7 +278,9 @@ sub main
my $gc = sub
{
return unless /\.(xs|cc?|hh?)$/;
-
+ for my $re ( $Options->{ignore_re} ) {
+ return if m/$re/;
+ }
my ($name) = /([^\/]+$)/;
# Don't bother running gcov if there's no index files.

0 comments on commit 2450cb2

Please sign in to comment.
Something went wrong with that request. Please try again.