forked from Timi16/soroban-debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci.sh
More file actions
23 lines (16 loc) · 598 Bytes
/
ci.sh
File metadata and controls
23 lines (16 loc) · 598 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
set -e # Exit immediately if a command fails
echo "--- 🛠️ Running Local CI Gates ---"
echo "1. Checking Rust Formatting..."
cargo fmt --all -- --check
echo "2. Running Clippy Lints..."
cargo clippy --all-targets --all-features -- -D warnings
echo "3. Running Rust Tests..."
cargo test
echo "4. Running VS Code Extension Tests..."
cd extensions/vscode && npm run test && cd ../..
echo "5. Verifying Manpages..."
bash scripts/check_manpages.sh
echo "======================================="
echo "✅ All local CI gates passed!"
echo "======================================="