hippofish/scripts/clean-cargo.mjs
2024-02-12 23:14:23 +09:00

12 lines
306 B
JavaScript

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",
});
})();