interactive_port: Ignore "_build" and "build" dirs

Fixes #15
This commit is contained in:
James Westman 2021-12-04 19:14:04 -06:00
parent d0cf13b2c4
commit 1f677725d8
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
2 changed files with 2 additions and 0 deletions

View file

@ -77,6 +77,8 @@ porting tool. If you think it's a bug (which is likely), please file an issue on
def listdir_recursive(subdir):
files = os.listdir(subdir)
for file in files:
if file in ["_build", "build"]:
continue
full = os.path.join(subdir, file)
if full == "./subprojects":
# skip the subprojects directory

Binary file not shown.