[svn:parrot] r43257 - trunk/tools/dev
coke at svn.parrot.org
coke at svn.parrot.org
Sun Dec 27 03:33:15 UTC 2009
Author: coke
Date: Sun Dec 27 03:33:09 2009
New Revision: 43257
URL: https://trac.parrot.org/parrot/changeset/43257
Log:
Allow to check deps on a single C file.
Modified:
trunk/tools/dev/checkdepend.pl
Modified: trunk/tools/dev/checkdepend.pl
==============================================================================
--- trunk/tools/dev/checkdepend.pl Sun Dec 27 03:09:42 2009 (r43256)
+++ trunk/tools/dev/checkdepend.pl Sun Dec 27 03:33:09 2009 (r43257)
@@ -77,7 +77,10 @@
}
}
-foreach my $file (sort grep {/\.c$/} (keys %deps)) {
+my @files = keys %deps;
+ at files = @ARGV if @ARGV;
+
+foreach my $file (sort grep {/\.c$/} @files) {
my $rule = $file;
$rule =~ s/\.c$//;
More information about the parrot-commits
mailing list