fail the build (and thus make) if openscad failed

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
Brian S. Stephan 2024-12-04 11:25:51 -06:00
parent a6b5d77671
commit 8b4cc0b182
Signed by: bss
GPG Key ID: 3DE06D3180895FCB

View File

@ -48,3 +48,5 @@ for root, dirs, files in os.walk('.'):
for process in processes:
process.wait()
if process.returncode != 0:
raise Exception(f"building {process.args} failed")