(*parts, create=False)
| 99 | |
| 100 | |
| 101 | def subdir(*parts, create=False): |
| 102 | path = CROSS_BUILD_DIR.joinpath(*parts) |
| 103 | if not path.exists(): |
| 104 | if not create: |
| 105 | sys.exit( |
| 106 | f"{path} does not exist. Create it by running the appropriate " |
| 107 | f"`configure` subcommand of {SCRIPT_NAME}.") |
| 108 | else: |
| 109 | path.mkdir(parents=True) |
| 110 | return path |
| 111 | |
| 112 | |
| 113 | def run(command, *, host=None, env=None, log=True, **kwargs): |
no test coverage detected
searching dependent graphs…