Skip to repository content24 lines · 606 B · text
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T01:24:59.777Z 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
1#!/usr/bin/env bash
2
3set -euo pipefail
4
5if [[ ! " $* " == *" -p "* && ! " $* " == *" --package "* ]]; then
6 set -- "$@" --workspace
7fi
8
9set -x
10"${CARGO:-cargo}" clippy "$@" --release --all-targets --all-features -- --deny warnings
11
12# If local, run other checks if we have the tools installed.
13if [[ -z "${GITHUB_ACTIONS+x}" ]]; then
14 which cargo-machete >/dev/null 2>&1 || exit 0
15 cargo machete
16
17 which typos >/dev/null 2>&1 || exit 0
18 typos --config typos.toml
19
20 which buf >/dev/null 2>&1 || exit 0
21 buf lint crates/proto/proto
22 buf format --diff --exit-code crates/proto/proto
23fi
24