Merge pull request #1974 from Hixie/analyzer-skip-bogus-files

Exclude .# files from skyanalyzer
This commit is contained in:
Ian Hickson 2015-11-05 21:35:24 -08:00
commit df739704ac

View File

@ -70,10 +70,10 @@ def main():
app_paths = []
for root, dirs, files in os.walk(SKY_UNIT_TESTS):
app_paths.extend(os.path.join(root, f)
for f in files if f.endswith(".dart"))
for f in files if f.endswith(".dart") and not '.#' in f)
for root, dirs, files in os.walk(SKY_EXAMPLES):
app_paths.extend(os.path.join(root, f)
for f in files if f.endswith(".dart"))
for f in files if f.endswith(".dart") and not '.#' in f)
if '.pub' in dirs:
dirs.remove('.pub')