19 lines
535 B
Bash
Executable File
19 lines
535 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
export PATH="$HOME/.cargo/bin:$PATH"
|
|
echo "Running full verification..."
|
|
cargo fmt --check
|
|
echo "[PASS] cargo fmt"
|
|
cargo check
|
|
echo "[PASS] cargo check"
|
|
cargo test
|
|
echo "[PASS] cargo test"
|
|
cargo clippy --all-targets --all-features -- -D warnings
|
|
echo "[PASS] cargo clippy"
|
|
cargo build --release
|
|
echo "[PASS] cargo build --release"
|
|
if [ -x "./scripts/loop-test.sh" ]; then
|
|
sudo ./scripts/loop-test.sh || echo "loop-test skipped or failed (may require root)"
|
|
fi
|
|
echo "All verifications completed"
|