Initial commit

This commit is contained in:
Diego Marcos
2025-05-23 08:52:14 -07:00
committed by Diego Marcos Segura
commit 3332f609a9
129 changed files with 64575 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
const { execSync } = await import("node:child_process");
const { platform } = await import("node:os");
const isWindows = platform() === "win32";
try {
if (isWindows) {
const output = execSync(
"powershell.exe -ExecutionPolicy Bypass -File ./rust/build_rust_wasm.ps1",
{ stdio: "inherit" },
);
} else {
execSync("rust/build_rust_wasm.sh", { stdio: "inherit" });
}
} catch (err) {
console.error("Failed to build RUST WASM:", err.message);
process.exit(1);
}