Files
logseq/scripts/clean-shadow-test-builds.js
Tienson Qin adbde3cf52 sandbox plan
2026-03-10 20:19:51 +08:00

16 lines
441 B
JavaScript

const fs = require("fs");
const path = require("path");
const repoRoot = path.resolve(__dirname, "..");
const targets = [
path.join(repoRoot, ".shadow-cljs", "builds", "test"),
path.join(repoRoot, ".shadow-cljs", "builds", "test-no-worker"),
path.join(repoRoot, "static", "tests.js"),
path.join(repoRoot, "static", "tests-no-worker.js"),
];
for (const target of targets) {
fs.rmSync(target, { recursive: true, force: true });
}