v0.31.2
This commit is contained in:
1 parent
24af7478b8
commit
0facfe6f5c
44 files changed
+898
-321
No files matched your search
Executable
+29
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bash
|
||||
# Run on a clean Rust 1.99+ build machine with registry and Swagger asset access.
|
||||
set -euo pipefail
|
||||
ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "$ROOT"
|
||||
if ! command -v cargo >/dev/null 2>&1 || ! command -v rustc >/dev/null 2>&1; then
|
||||
printf 'Rust 1.99+ and Cargo are required; no lockfile was regenerated.\n' >&2
|
||||
exit 127
|
||||
fi
|
||||
python3 tools/checks/preflight.py
|
||||
if [[ "$(python3 scripts/version.py)" != '0.31.2' ]]; then
|
||||
printf 'Expected RustProxy 0.31.2 sources.\n' >&2
|
||||
exit 1
|
||||
fi
|
||||
printf 'Toolchain: '; rustc --version
|
||||
cargo update
|
||||
python3 tools/checks/dependency_upgrade_0312.py --require-lock
|
||||
cargo metadata --locked --format-version 1 --no-deps >/dev/null
|
||||
cargo fmt --all -- --check
|
||||
cargo clippy --locked --all-targets -- -D warnings
|
||||
./dev.sh check
|
||||
./dev.sh test
|
||||
./dev.sh release
|
||||
if cargo audit --version >/dev/null 2>&1; then
|
||||
cargo audit
|
||||
else
|
||||
printf 'NOTICE: cargo-audit is unavailable; install it and run cargo audit before release.\n' >&2
|
||||
fi
|
||||
printf 'Source and locked Rust build complete. Still required: live H1/H2/H3, auth/TLS, SQLite, cache, UI and performance acceptance.\n'
|
||||
Reference in new issue
Block a user