(path)
| 295 | |
| 296 | |
| 297 | def is_ignored_path(path): |
| 298 | basename = os.path.basename(path) |
| 299 | if basename in IGNORE_DIRS: |
| 300 | print("[make_installer.py] Ignore: {dir}" |
| 301 | .format(dir=short_src_path(path))) |
| 302 | return True |
| 303 | for ext in IGNORE_EXT: |
| 304 | if path.endswith(ext): |
| 305 | print("[make_installer.py] Ignore: {file}" |
| 306 | .format(file=short_src_path(path))) |
| 307 | return True |
| 308 | return False |
| 309 | |
| 310 | |
| 311 | def delete_files_by_pattern(pattern): |
no test coverage detected