Skip to content

Commit

Permalink
Updated inclusion/exclusions.
Browse files Browse the repository at this point in the history
  • Loading branch information
acaudwell committed Apr 24, 2013
1 parent 9784318 commit a1c8a90
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions dev/bin/build_tar.pl
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,16 @@ sub gource_version {
my $VERSION = gource_version();

my @exclusions = (
qr{^/autogen\.sh$},
qr{^/backup/},
qr{^/confs/},
qr{^/cmd/},
qr{^/resources/},
qr{^/tests/},
qr{^/scripts/},
qr{^/contrib/},
qr{^/config.status$},
qr{^/config.log$},
qr{^/debian/},
qr{^/gource$},
qr{^/dev/},
qr{^/logs/},
Expand All @@ -39,7 +45,6 @@ sub gource_version {
qr{^/src/core/README$},
qr{^/src/core/ui/},
qr{\.d$},
qr{^/test/},
);

my @inclusions = (
Expand All @@ -53,7 +58,7 @@ sub gource_version {
qr{^/aclocal\.m4$},
qr{^/m4/.+\.m4$},
qr{^/configure(?:\.ac)?$},
qr{^/src/.+\.(?:cpp|h)$},
qr{^/src/.+\.(?:cpp|h|cc|hh)$},
qr{^/data/file\.png$},
qr{^/data/user\.png$},
qr{^/data/beam\.png$},
Expand Down Expand Up @@ -117,7 +122,7 @@ sub gource_version {
next if grep { $file =~ $_ } @exclusions;

unless(grep { $file =~ $_ } @inclusions) {
warn "nothing known about $file\n";
warn "WARNING: nothing known about $file\n";
next;
}

Expand Down

0 comments on commit a1c8a90

Please sign in to comment.