Files
VoelinClient/scripts/own-crates.sh
T
Claude e28d7cca03 CI: fast checks only; packages are built by a release workflow
ci.yml (pushes to main, PRs) now runs only the quick checks: fmt +
clippy, the Linux tests (Xvfb), clippy for Windows (MSVC) and for
Android, cargo-deny, the notices check, and the TS3/TS6 smoke and
browser interop tests. It skips documentation-only changes (except
THIRD_PARTY_NOTICES.md, which is compiled in) and can be called by
other workflows.

The new release.yml builds the packages: on a v* tag it runs the same
checks (through ci.yml) plus the Windows tests and every package job
(Linux .tar.gz/.deb for the app and tsgw, Windows zip + installer,
Flatpak, Android APKs, the tsgw image) and attaches them with
SHA256SUMS to a draft release; run by hand it only uploads the
packages as artifacts. docker.yml runs on tags and by hand instead of
on PRs, pushes and weekly.

scripts/own-crates.sh also recognizes crates/proto with Windows path
separators, so Windows clippy covers our crates only (checked locally
with clippy for x86_64-pc-windows-gnu: clean). Docs follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
2026-09-26 22:14:25 +00:00

11 lines
520 B
Bash
Executable File

#!/usr/bin/env bash
# Print `-p <crate>` for every workspace crate outside the vendored crates/proto
# (manifest paths with / or \ separators, for Windows),
# for commands that apply strict checks to our own code only:
# cargo clippy $(scripts/own-crates.sh) --all-targets --no-deps -- -D warnings
set -euo pipefail
cd "$(dirname "$0")/.."
cargo metadata --no-deps --format-version 1 |
jq -r '.packages[] | select(.manifest_path | gsub("\\\\"; "/") | contains("/crates/proto/") | not) | "-p \(.name)"' |
tr '\n' ' '