Skip to content

Commit aafd870

Browse files
committed
issue/940 - check build result and implicitly require build.py
1 parent 6f8a443 commit aafd870

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/build_ntops.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,14 @@ def _find_and_build_ops():
2121
if not ninetoothed_path.is_dir():
2222
continue
2323

24+
build_file = ninetoothed_path / "build.py"
25+
if not build_file.exists():
26+
continue
27+
2428
futures.append(executor.submit(_build, ninetoothed_path))
2529

26-
concurrent.futures.as_completed(futures)
30+
for future in concurrent.futures.as_completed(futures):
31+
future.result()
2732

2833

2934
def _build(ninetoothed_path):

0 commit comments

Comments
 (0)