feat(build): 统一编译命令并默认启用双架构

This commit is contained in:
2026-02-15 23:48:37 +08:00
parent 275c8e4795
commit 94a9122f34
4 changed files with 11 additions and 11 deletions

View File

@@ -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)