# Сборка admin-консоли (spec 06 §3 m08): flutter build web -> wwwroot\admin # Требует Flutter в PATH (SDK: C:\tools\flutter). $ErrorActionPreference = 'Stop' flutter build web --release $target = Join-Path $PSScriptRoot '..\..\2-cli\Server.WatchBody.Web\wwwroot\admin' if (Test-Path $target) { Remove-Item -Recurse -Force $target } New-Item -ItemType Directory -Force -Path $target | Out-Null Copy-Item -Recurse -Force (Join-Path $PSScriptRoot 'build\web\*') $target Write-Host "OK -> $target"