Drop PowerShell dev/test helper scripts in favor of make

This commit is contained in:
kate522 committed 2026-10-18 17:33:43 +08:00
1 parent a141f39dbd
commit 52ef367a11
3 files changed
+4 -33

No files matched your search

+4 -7
View File
@@ -12,23 +12,20 @@
```powershell
# 1. 构建网关二进制到 bin/
powershell -File scripts/build-gateway.ps1
# 或:go build -o bin/gateway.exe ./cmd/gateway
make build
# 2. 安装前端依赖
npm install
# 3. 启动桌面端(自动构建网关并启动 Tauri dev)
powershell -File scripts/dev.ps1
# 或直接:npm run tauri dev
make dev
```
## 测试
```powershell
powershell -File scripts/test.ps1 # Go + 前端全部测试
go test ./... # 仅 Go
npm test # 仅前端
make test # Go 单元测试与集成测试
npm test # 前端 vitest
npm run typecheck
```