respond to comments

This commit is contained in:
Mayukha Vadari
2026-07-23 15:41:57 -04:00
parent 319f71e560
commit 5c95d11127
2 changed files with 4 additions and 9 deletions

View File

@@ -49,6 +49,7 @@ def find_tool(name: str) -> str | None:
def find_build_dir(repo_root: Path) -> Path | None:
for name in (".build", "build"):
candidate = repo_root / name
print("find_build_dir: candidate: ", candidate)
if (candidate / "compile_commands.json").exists():
return candidate
return None
@@ -94,7 +95,6 @@ def main():
repo_root = Path(
subprocess.check_output(
["git", "rev-parse", "--show-toplevel"],
cwd=Path(__file__).parent,
text=True,
).strip()
)