Web-Ide mit aufgenommen

This commit is contained in:
Riwoldt
2026-04-09 14:14:56 +02:00
parent 64816c45cc
commit 15cfaf332d
489 changed files with 186891 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
const fs = require("fs-extra");
const path = require("path");
const scriptDir = path.dirname(__filename);
const buildDir = path.resolve(scriptDir, "..", "build");
fs.ensureDirSync(buildDir);
process.chdir(buildDir);
const folders = [
"chip",
"cpu",
"asm",
"vm",
"compiler",
"bitmap",
"guide",
"util",
"about",
];
for (const folder of folders) {
fs.ensureDirSync(folder);
fs.copyFileSync("index.html", path.join(folder, "index.html"));
}
console.log("Predeploy tasks completed.");