Skip to repository content33 lines · 813 B · text
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T00:30:14.352Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
clippy.ps1
1$ErrorActionPreference = "Stop"
2
3Write-Host "Your PATH entries:"
4$env:Path -split ";" | ForEach-Object { Write-Host " $_" }
5
6$needAddWorkspace = $false
7if ($args -notcontains "-p" -and $args -notcontains "--package")
8{
9 $needAddWorkspace = $true
10}
11
12# https://stackoverflow.com/questions/41324882/how-to-run-a-powershell-script-with-verbose-output/70020655#70020655
13# Set-PSDebug -Trace 2
14
15if ($env:CARGO)
16{
17 $Cargo = $env:CARGO
18} elseif (Get-Command "cargo" -ErrorAction SilentlyContinue)
19{
20 $Cargo = "cargo"
21} else
22{
23 Write-Error "Could not find cargo in path." -ErrorAction Stop
24}
25
26if ($needAddWorkspace)
27{
28 & $Cargo clippy @args --workspace --release --all-targets --all-features -- --deny warnings
29} else
30{
31 & $Cargo clippy @args --release --all-targets --all-features -- --deny warnings
32}
33