feat(build): 统一编译命令并默认启用双架构
This commit is contained in:
10
AGENTS.md
10
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)
|
||||
|
||||
Reference in New Issue
Block a user