(
self,
build_dir: Path,
environment: str | None,
upload_port: str | None,
verbose: bool = False,
clean: bool = False,
quiet: bool = False,
log_file: IO[str] | None = None,
)
| 58 | return True |
| 59 | |
| 60 | def deploy( |
| 61 | self, |
| 62 | build_dir: Path, |
| 63 | environment: str | None, |
| 64 | upload_port: str | None, |
| 65 | verbose: bool = False, |
| 66 | clean: bool = False, |
| 67 | quiet: bool = False, |
| 68 | log_file: IO[str] | None = None, |
| 69 | ) -> bool: |
| 70 | from ci.util.fbuild_runner import run_fbuild_deploy |
| 71 | |
| 72 | return run_fbuild_deploy( |
| 73 | build_dir, |
| 74 | environment=environment, |
| 75 | upload_port=upload_port, |
| 76 | verbose=verbose, |
| 77 | clean=clean, |
| 78 | quiet=quiet, |
| 79 | log_file=log_file, |
| 80 | ) |
| 81 | |
| 82 | def firmware_path(self, build_dir: Path, environment: str) -> Path: |
| 83 | return build_dir / ".fbuild" / "build" / environment / "firmware.bin" |
nothing calls this directly
no test coverage detected