1
0
Fork 1
mirror of https://example.com synced 2024-11-26 07:26:39 +09:00
firefish/scripts/clean-cargo.mjs

14 lines
332 B
JavaScript
Raw Normal View History

import fs from "node:fs";
import path, { join } from "node:path";
import { fileURLToPath } from "node:url";
import { execa } from "execa";
(async () => {
const __dirname = path.dirname(fileURLToPath(import.meta.url));
execa("cargo", ["clean"], {
cwd: join(__dirname, "/../packages/backend-rs"),
stdio: "inherit",
});
})();