(commands: list[Any], **kwargs: Any)
| 74 | |
| 75 | |
| 76 | def cmd(commands: list[Any], **kwargs: Any): |
| 77 | commands = [str(s) for s in commands] |
| 78 | command_str = " ".join(commands) |
| 79 | print_color(col.BLUE, command_str, bold=True) |
| 80 | proc = subprocess.run(commands, **kwargs) |
| 81 | if proc.returncode != 0: |
| 82 | raise RuntimeError(f"Command failed: '{command_str}'") |
| 83 | return proc |
| 84 | |
| 85 | |
| 86 | def get_build_dir(name: str) -> str: |
no test coverage detected