aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rebuild-bundles.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/rebuild-bundles.py b/scripts/rebuild-bundles.py
index 3b04af5..f141292 100644
--- a/scripts/rebuild-bundles.py
+++ b/scripts/rebuild-bundles.py
@@ -34,6 +34,7 @@ CORE_FILES = [
'module-world-model.js',
'module-neural-vfs.js',
'module-smartctx.js',
+ 'module-debug-supervisor.js',
]
CRITICAL_EXT_FILES = [
@@ -44,6 +45,9 @@ def build_bundle(source_dir, files, output_path, label):
parts = [f'// {label} bundle', f'// Generated from {source_dir}', '']
for f in files:
src = os.path.join(source_dir, f)
+ if not os.path.exists(src):
+ print(f' WARNING: {src} not found, skipping')
+ continue
with open(src, 'r', encoding='utf-8') as fh:
code = fh.read()
parts.append(f'\n/* === {f} === */\n')