drop the dead code and close the gaps in the verification gate
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user