|
15 | 15 | # ci-strict Strict CI gate mirroring GitHub Actions ordering and strictness |
16 | 16 | # ci-local Run all practical gates developers must satisfy before pushing |
17 | 17 |
|
18 | | -.PHONY: all build fmt lint lint-strict hooks-install hooks-check test-rust test-rust-sandbox test-rust-network test-vscode ci-strict ci-local ci-sandbox clean regen-man check-man test-man-tmpdir |
19 | | - |
20 | | -all: build |
| 18 | +.PHONY: all build fmt lint lint-strict hooks-install hooks-check test-rust test-rust-sandbox test-rust-network test-vscode ci-strict ci-local ci-sandbox clean regen-man check-man test-man-tmpdir help |
| 19 | + |
| 20 | +all: help |
| 21 | + |
| 22 | +help: |
| 23 | + @echo "Soroban Debugger — developer convenience targets" |
| 24 | + @echo "" |
| 25 | + @echo "Targets:" |
| 26 | + @echo " help Show this help message" |
| 27 | + @echo " regen-man Regenerate all man pages from current CLI source" |
| 28 | + @echo " check-man Verify committed man pages match generated output" |
| 29 | + @echo " test-man-tmpdir Run portability tests for man page temp dir handling" |
| 30 | + @echo " fmt Check Rust formatting" |
| 31 | + @echo " lint Run Rust clippy lints (strict)" |
| 32 | + @echo " lint-strict Run Rust clippy with CI-equivalent strict flags" |
| 33 | + @echo " hooks-install Install pre-commit hooks for local validation" |
| 34 | + @echo " hooks-check Run pre-commit hooks against all files" |
| 35 | + @echo " test-rust Run Rust backend tests" |
| 36 | + @echo " test-rust-network Run only loopback network-dependent Rust tests" |
| 37 | + @echo " test-vscode Run VS Code extension tests" |
| 38 | + @echo " ci-strict Strict CI gate mirroring GitHub Actions" |
| 39 | + @echo " ci-local Run all practical gates developers must satisfy" |
| 40 | + @echo " clean Clean build artifacts" |
21 | 41 |
|
22 | 42 | build: |
23 | 43 | cargo build |
@@ -80,9 +100,9 @@ ci-strict: |
80 | 100 |
|
81 | 101 | # The single local entrypoint for developers |
82 | 102 | ci-local: fmt lint test-rust test-vscode check-man |
83 | | - @echo "=======================================" |
| 103 | + @echo "=========================================" |
84 | 104 | @echo "✅ All local CI gates passed successfully!" |
85 | | - @echo "=======================================" |
| 105 | + @echo "=========================================" |
86 | 106 |
|
87 | 107 | # Sandbox-safe local gate for restricted environments. |
88 | 108 | # Runs deterministic checks and explicitly reports skipped network/temp-dependent gates. |
|
0 commit comments