lint the test targets, make the fps setting real, and stop tonemapping sdr captures
This commit is contained in:
+4
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user