extract the d3d descriptors and cover the sweep and guard paths
This commit is contained in:
+3
-1
@@ -63,7 +63,9 @@ Push-Location $root
|
||||
try {
|
||||
$null = Invoke-Step 'svelte-check (frontend types)' { npm run check }
|
||||
if ($failures.Count -eq 0) { $null = Invoke-Step 'cargo check' { cargo check --manifest-path src-tauri/Cargo.toml } }
|
||||
if ($failures.Count -eq 0) { $null = Invoke-Step 'cargo clippy' { cargo clippy --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.
|
||||
if ($failures.Count -eq 0) { $null = Invoke-Step 'cargo clippy' { cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings } }
|
||||
if ($failures.Count -eq 0) { $null = Invoke-Step 'cargo test' { cargo test --manifest-path src-tauri/Cargo.toml } }
|
||||
}
|
||||
finally {
|
||||
|
||||
Reference in New Issue
Block a user