2023-12-06 23:58:52 +09:00
|
|
|
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"], {
|
2024-01-23 01:29:15 +09:00
|
|
|
cwd: join(__dirname, "/../packages/backend-rs"),
|
2023-12-06 23:58:52 +09:00
|
|
|
stdio: "inherit",
|
|
|
|
});
|
|
|
|
})();
|