drop the dead code and close the gaps in the verification gate

This commit is contained in:
2026-09-21 06:35:52 +03:00
parent 4125d509cc
commit 4b850096a1
11 changed files with 13 additions and 17 deletions
+3
View File
@@ -62,6 +62,9 @@ if (-not (Test-Path (Join-Path $root 'node_modules'))) {
Push-Location $root
try {
$null = Invoke-Step 'svelte-check (frontend types)' { npm run check }
# Type checking does not exercise Rollup, so a broken entry or import still
# needs the real build to be caught.
$null = Invoke-Step 'vite build' { npm run build }
if ($failures.Count -eq 0) { $null = Invoke-Step 'cargo check' { cargo check --manifest-path src-tauri/Cargo.toml } }
# -D warnings matters: clippy exits 0 when it only has warnings, so without
# this the gate passes on a warning-laden build.