fix(clean): remove native build state (review round 3)

This commit is contained in:
Hypatia May
2026-08-06 11:11:57 +08:00
parent d3aa337c26
commit 32864c026c
2 changed files with 8 additions and 1 deletions

View File

@@ -72,6 +72,11 @@ export class RepositoryCleaner {
for (const entry of await readdir(this.root, { withFileTypes: true })) {
if (entry.isFile() && entry.name.endsWith('.tsbuildinfo')) targets.add(join(this.root, entry.name))
}
await this.addIfPresent(
targets,
join(this.root, 'native/landlock-run/tsconfig.tsbuildinfo'),
canonicalRoot,
)
// The root project-reference graph is the source of truth for live build targets.
// Each emitting project declares lib/types as outDir; its parent lib also owns