MaD generator: add single file mode

This commit is contained in:
Paolo Tranquilli
2025-06-19 12:54:30 +02:00
parent 2818e6ee17
commit 261c129555
3 changed files with 47 additions and 37 deletions

View File

@@ -22,7 +22,7 @@ def remove_dir(dirName):
def run_cmd(cmd, msg="Failed to run command"):
print("Running " + " ".join(cmd))
print("Running " + " ".join(map(str, cmd)))
if subprocess.check_call(cmd):
print(msg)
exit(1)