Reapply "Update build.mjs"

This reverts commit 03d7d9aadd.
This commit is contained in:
Ashcon Partovi
2024-09-11 08:25:24 -07:00
parent 19ef3eecd0
commit 03285f2490

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env node
import { spawn as nodeSpawn } from "node:child_process";
import { existsSync, readFileSync, readdirSync } from "node:fs";
import { existsSync, readFileSync, readdirSync, mkdirSync, cpSync } from "node:fs";
import { join, relative, resolve } from "node:path";
// https://cmake.org/cmake/help/latest/manual/cmake.1.html#generate-a-project-buildsystem