mirror of
https://github.com/silicoflare/confidant.git
synced 2026-05-26 20:48:01 +05:30
12 lines
463 B
TypeScript
12 lines
463 B
TypeScript
import { $ } from "bun";
|
|
import data from "../package.json";
|
|
|
|
const { version: ver } = data;
|
|
|
|
await $`
|
|
rm -rf ./dist
|
|
bun build --compile --minify --target=bun-linux-x64 ./confidant.ts --outfile ./dist/confidant_${ver}_linux_x64
|
|
bun build --compile --minify --target=bun-windows-x64 ./confidant.ts --outfile ./dist/confidant_${ver}_win_x64.exe
|
|
bun build --compile --minify --target=bun-darwin-arm64 ./confidant.ts --outfile ./dist/confidant_${ver}_darwin_arm64
|
|
`;
|