Get the cached project root.
()
| 21 | |
| 22 | |
| 23 | def _get_project_root() -> Path: |
| 24 | """Get the cached project root.""" |
| 25 | global _PROJECT_ROOT |
| 26 | if _PROJECT_ROOT is None: |
| 27 | from ci.compiler.path_manager import resolve_project_root |
| 28 | |
| 29 | _PROJECT_ROOT = resolve_project_root() |
| 30 | return _PROJECT_ROOT |
| 31 | |
| 32 | |
| 33 | def get_root_platformio_build_flags(board_name: str, project_root: Path) -> list[str]: |
no test coverage detected