mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
build protos indexing on first shot
This commit is contained in:
1 parent
4fc57d7fc1
commit
e52f003c1b
3 files changed
+5
-8
No files matched your search
@@ -1,5 +1,3 @@
|
||||
import { ShellDefinition, ShellType } from "../../../protos/src/blitzkit";
|
||||
|
||||
export function canSplash(
|
||||
type: ShellDefinition["type"],
|
||||
): type is ShellType.SHELL_TYPE_HE {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
export * from "../../protos/src/blitzkit";
|
||||
export * from "./api";
|
||||
export * from "./blitz";
|
||||
export * from "./blitzkit";
|
||||
|
||||
@@ -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}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user