feat: initial wipe implementation - block device safety, HDD overwrite, NVMe/secure-discard, verification
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user