21 lines · 577 B · Text
RawDownload
$ErrorActionPreference = "Stop" $needAddWorkspace = $falseif ($args -notcontains "-p" -and $args -notcontains "--package") {    $needAddWorkspace = $true} # https://stackoverflow.com/questions/41324882/how-to-run-a-powershell-script-with-verbose-output/70020655#70020655Set-PSDebug -Trace 2 $Cargo = $env:CARGOif (-not $Cargo) {    $Cargo = "cargo"} if ($needAddWorkspace) {    & $Cargo clippy @args --workspace --release --all-targets --all-features -- --deny warnings}else {    & $Cargo clippy @args --release --all-targets --all-features -- --deny warnings}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t