diff --git a/AGENTS.md b/AGENTS.md index 7842abc..b9334fa 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -21,9 +21,9 @@ Guidelines for AI agents working in this Bun monorepo. bun dev # Start all apps in dev mode bun build # Build all apps bun compile # Compile server to standalone binary (current platform, depends on build) -bun compile:linux # Compile server for Linux x64 -bun compile:mac # Compile server for macOS arm64 -bun compile:win # Compile server for Windows x64 +bun compile:linux # Compile server for Linux binaries (x64 + arm64) +bun compile:darwin # Compile server for macOS binaries (arm64 + x64) +bun compile:windows # Compile server for Windows x64 binary bun dist # Full packaging pipeline: server build → compile → desktop distributable (current platform) bun dist:linux # Full pipeline → Linux distributables (x64 + arm64) bun dist:mac # Full pipeline → macOS distributables (arm64 + x64) @@ -37,10 +37,10 @@ bun typecheck # TypeScript check across monorepo bun dev # Vite dev server (localhost:3000) bun build # Production build -> .output/ bun compile # Compile to standalone binary (current platform) -bun compile:darwin # Compile for macOS (default: arm64) +bun compile:darwin # Compile for macOS (arm64 + x64) bun compile:darwin:arm64 # Compile for macOS arm64 bun compile:darwin:x64 # Compile for macOS x64 -bun compile:linux # Compile for Linux (default: x64) +bun compile:linux # Compile for Linux (x64 + arm64) bun compile:linux:arm64 # Compile for Linux arm64 bun compile:linux:x64 # Compile for Linux x64 bun compile:windows # Compile for Windows (default: x64) diff --git a/apps/server/AGENTS.md b/apps/server/AGENTS.md index 828304d..350a9a1 100644 --- a/apps/server/AGENTS.md +++ b/apps/server/AGENTS.md @@ -26,10 +26,10 @@ bun db:studio # Drizzle Studio GUI # Build bun build # Production build → .output/ bun compile # Compile to standalone binary (current platform, depends on build) -bun compile:darwin # Compile for macOS (default: arm64) +bun compile:darwin # Compile for macOS (arm64 + x64) bun compile:darwin:arm64 # Compile for macOS arm64 bun compile:darwin:x64 # Compile for macOS x64 -bun compile:linux # Compile for Linux (default: x64) +bun compile:linux # Compile for Linux (x64 + arm64) bun compile:linux:arm64 # Compile for Linux arm64 bun compile:linux:x64 # Compile for Linux x64 bun compile:windows # Compile for Windows (default: x64) diff --git a/apps/server/package.json b/apps/server/package.json index c70e17e..28b5576 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -6,10 +6,10 @@ "scripts": { "build": "vite build", "compile": "bun compile.ts", - "compile:darwin": "bun run compile:darwin:arm64", + "compile:darwin": "bun run compile:darwin:arm64 && bun run compile:darwin:x64", "compile:darwin:arm64": "bun compile.ts --target bun-darwin-arm64", "compile:darwin:x64": "bun compile.ts --target bun-darwin-x64", - "compile:linux": "bun run compile:linux:x64", + "compile:linux": "bun run compile:linux:x64 && bun run compile:linux:arm64", "compile:linux:arm64": "bun compile.ts --target bun-linux-arm64", "compile:linux:x64": "bun compile.ts --target bun-linux-x64", "compile:windows": "bun run compile:windows:x64", diff --git a/package.json b/package.json index 741a7da..c37733f 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "build": "turbo run build", "compile": "turbo run compile", "compile:linux": "turbo run compile:linux", - "compile:mac": "turbo run compile:mac", - "compile:win": "turbo run compile:win", + "compile:darwin": "turbo run compile:darwin", + "compile:windows": "turbo run compile:windows", "dev": "turbo run dev", "dist": "turbo run dist", "dist:linux": "turbo run dist:linux",