1
0
Fork 0
mirror of https://github.com/matomo-org/matomo-icons.git synced 2024-09-19 17:03:45 +02:00

small fix

This commit is contained in:
Lukas Winkler 2017-05-23 19:06:56 +02:00
parent 65dfa5d502
commit 463cb132d8

View file

@ -140,12 +140,12 @@ def test_if_build_script_is_deleting_all_unneeded_files():
for name in dirs:
all_files.append(os.path.join(root, name))
for pattern in build_script_regex.findall(build_script):
print(pattern)
deleted_files.extend(glob(pattern))
for file in all_files:
if not any(s in file for s in deleted_files) and not (file.startswith("./dist") or file.startswith("./tmp")) \
and file != "./README.md":
print("{file} should be deleted by the build script".format(file=file))
error = True
if __name__ == "__main__":