Remove pre-built UI artifacts to ensure clean build.
()
| 404 | |
| 405 | |
| 406 | def _remove_ui_build_artifacts() -> None: |
| 407 | """Remove pre-built UI artifacts to ensure clean build.""" |
| 408 | ui_build_dir = os.path.join("burr", "tracking", "server", "build") |
| 409 | if os.path.exists(ui_build_dir): |
| 410 | print(f" Removing UI build artifacts: {ui_build_dir}") |
| 411 | shutil.rmtree(ui_build_dir) |
| 412 | print(" ✓ UI build artifacts removed") |
| 413 | |
| 414 | |
| 415 | def _build_sdist_from_git(version: str, output_dir: str = "dist") -> str: |
no outgoing calls
no test coverage detected