Add PowerShell dev/test scripts and Windows-first README commands

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

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
# Runs the full test suite: Go tests, then frontend vitest.
param([switch]$SkipFrontend)
$ErrorActionPreference = "Stop"
$repoRoot = Split-Path -Parent $PSScriptRoot
Set-Location $repoRoot
go test ./...
if ($LASTEXITCODE -ne 0) { exit 1 }
if (-not $SkipFrontend) {
npm test
}