(self, build_dir: Path)
| 185 | subprocess.run(command, cwd=cwd, check=True) |
| 186 | |
| 187 | def run_meson(self, build_dir: Path): |
| 188 | setup_command = ["meson", "setup", self.meson_build_dir] |
| 189 | self._run_subprocess_command(setup_command, build_dir) |
| 190 | compile_command = ["meson", "compile", "-C", self.meson_build_dir] |
| 191 | self._run_subprocess_command(compile_command, build_dir) |
| 192 | |
| 193 | def compile(self) -> None: |
| 194 | self.sources = _prepare_sources(self.modulename, self.sources, self.build_dir) |
no test coverage detected