build protos indexing on first shot

This commit is contained in:
tresabhi committed 2026-09-23 16:42:30 -05:00
1 parent 4fc57d7fc1
commit e52f003c1b
3 files changed
+5 -8

No files matched your search

+5 -5
View File
@@ -29,15 +29,15 @@ for (const root of ROOTS) {
for (const file of filesRaw) {
if (file.endsWith(".proto")) {
files.push(file);
const name = file.slice(0, -6);
index += `export * from "./${name}";\n`;
args += `${root}/${file}\n`;
files.push(file);
}
if (file.endsWith(".ts")) {
const name = file.slice(0, -3);
index += `export * from "./${name}";\n`;
await rm(`${root}/${file}`);
}
}