lint the test targets, make the fps setting real, and stop tonemapping sdr captures

This commit is contained in:
2026-09-21 06:45:23 +03:00
parent 4b850096a1
commit aef64fa4e3
8 changed files with 221 additions and 40 deletions
+4 -2
View File
@@ -67,8 +67,10 @@ try {
$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.
if ($failures.Count -eq 0) { $null = Invoke-Step 'cargo clippy' { cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings } }
# this the gate passes on a warning-laden build. --all-targets matters too:
# without it clippy never compiles #[cfg(test)], so the test modules go
# unlinted.
if ($failures.Count -eq 0) { $null = Invoke-Step 'cargo clippy' { cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets -- -D warnings } }
if ($failures.Count -eq 0) { $null = Invoke-Step 'cargo test' { cargo test --manifest-path src-tauri/Cargo.toml } }
}
finally {