mirror of
https://git.joinfirefish.org/firefish/firefish.git
synced 2024-05-18 03:51:13 +02:00
13 lines
306 B
JavaScript
13 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",
|
|
});
|
|
})();
|