feat: cleanup with respect to core
Build, test, deploy / site (push) Failing after 1m37s

This commit is contained in:
alexm committed 2026-10-06 10:30:36 -04:00
1 parent e525f1d26f
commit ce45d30cc7
10 files changed
+24 -24

No files matched your search

+2 -2
View File
@@ -23,8 +23,8 @@ const [name, outDir] = process.argv.slice(2).filter((a) => !a.startsWith('--'));
const die = (m) => { console.error(`quarto:export: ${m}`); process.exit(1); };
if (!name || !outDir) die('usage: pixi run quarto-export <program in mojo/local/> <folder beside the .qmd page>');
const src = path.join(ROOT, 'core/mojo/local', `${name}.mojo`);
if (!fs.existsSync(src)) die(`core/mojo/local/${name}.mojo does not exist`);
const src = path.join(ROOT, 'core/library/mojo/local', `${name}.mojo`);
if (!fs.existsSync(src)) die(`core/library/mojo/local/${name}.mojo does not exist`);
const listingsJs = path.join(ROOT, 'core/dist/mojo/generated/listings.js');
if (!fs.existsSync(listingsJs)) die('core/dist/ is missing; run `pixi run build` first');
const { MOJO_LISTINGS } = await import(pathToFileURL(listingsJs).href);