clusterflux-public/scripts/private-repository-gate.sh
2026-07-21 20:36:04 +02:00

14 lines
394 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
repo=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
cd "$repo"
scripts/check-old-name.sh
node scripts/check-docs.js
scripts/check-code-size.sh
cargo fmt --all --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace
cargo test --locked --manifest-path private/hosted-policy/Cargo.toml
node scripts/vscode-extension-smoke.js