Exclude .# files from skyanalyzer

Emacs uses these as lock files and skyanalyzer was often getting
confused trying to analyze them.
This commit is contained in:
Hixie 2015-11-05 15:36:09 -08:00
parent 1fe60d4d1e
commit 1f69f9c585

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')