Files
cms-SiteForge/scripts/check.ps1
T
浅念 8cea7dee20 chore: baseline V8.10.0-dev.1 with v8_workflows type-mapping fix and trade-pro spec
- SiteForge Enterprise V8.10.0-dev.1 upstream source (210 tests)
- Fix: v8_workflows._mapped_input now reads both 类型/分类 columns so WXR
  imports keep post/product types instead of collapsing to page
- Docs: trade-pro theme port spec (R3) and implementation plan

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-22 16:49:25 +08:00

17 lines
622 B
PowerShell

$ErrorActionPreference = 'Stop'
Set-Location (Join-Path $PSScriptRoot '..')
python -m compileall -q app
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
python -m pytest -q
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Get-ChildItem app/static -Filter *.js | ForEach-Object {
node --check $_.FullName
if ($LASTEXITCODE -ne 0) { throw "JavaScript syntax error: $_" }
}
if (Get-Command docker -ErrorAction SilentlyContinue) {
docker compose config --quiet
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
docker compose -f compose.enterprise.yaml config --quiet
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
}