mirror of
https://example.com
synced 2024-11-23 04:06:40 +09:00
14 lines
342 B
JavaScript
14 lines
342 B
JavaScript
|
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/native-utils"),
|
||
|
stdio: "inherit",
|
||
|
});
|
||
|
})();
|