archive 001 and 002 as early prototypes

This commit is contained in:
41666 2023-10-09 00:05:02 -04:00
parent 87563cb9e3
commit 778873c9ce
12 changed files with 85 additions and 15 deletions

View file

@ -39,12 +39,11 @@ console.log(chalk.green`>> Generating HTML and Markdown ...`);
await generate(works);
console.log(chalk.green`>> Copying public files ...`);
const publics = globSync("src/public/*");
for (const file of publics) {
const dest = file.replace("src/public/", "html/");
cpSync(file, dest);
console.log(chalk.yellow(` -> ${dest}...`));
}
const { stdout, stderr, exitCode } = Bun.spawnSync([
"sh",
"-c",
"cp -r src/public/* html/",
]);
console.log(chalk.green`>> Convert meshes ...`);
await convertMeshes();