mirror of
https://github.com/logseq/logseq.git
synced 2026-05-24 04:34:14 +00:00
16 lines
441 B
JavaScript
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 });
|
|
}
|