Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 25 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,29 @@
# ci-strict Strict CI gate mirroring GitHub Actions ordering and strictness
# ci-local Run all practical gates developers must satisfy before pushing

.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

all: build
.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

all: help

help:
@echo "Soroban Debugger — developer convenience targets"
@echo ""
@echo "Targets:"
@echo " help Show this help message"
@echo " regen-man Regenerate all man pages from current CLI source"
@echo " check-man Verify committed man pages match generated output"
@echo " test-man-tmpdir Run portability tests for man page temp dir handling"
@echo " fmt Check Rust formatting"
@echo " lint Run Rust clippy lints (strict)"
@echo " lint-strict Run Rust clippy with CI-equivalent strict flags"
@echo " hooks-install Install pre-commit hooks for local validation"
@echo " hooks-check Run pre-commit hooks against all files"
@echo " test-rust Run Rust backend tests"
@echo " test-rust-network Run only loopback network-dependent Rust tests"
@echo " test-vscode Run VS Code extension tests"
@echo " ci-strict Strict CI gate mirroring GitHub Actions"
@echo " ci-local Run all practical gates developers must satisfy"
@echo " clean Clean build artifacts"

build:
cargo build
Expand Down Expand Up @@ -80,9 +100,9 @@ ci-strict:

# The single local entrypoint for developers
ci-local: fmt lint test-rust test-vscode check-man
@echo "======================================="
@echo "========================================="
@echo "✅ All local CI gates passed successfully!"
@echo "======================================="
@echo "========================================="

# Sandbox-safe local gate for restricted environments.
# Runs deterministic checks and explicitly reports skipped network/temp-dependent gates.
Expand Down
2 changes: 1 addition & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ soroban-debug inspect --contract my_contract.wasm

## Argument Parsing

### 14. My JSON arguments are failing to parse
### 13. My JSON arguments are failing to parse
**Cause:** Shell quoting issues are common. If your JSON contains double quotes, the shell might be stripping them.
**Fix:** Wrap the entire JSON string in single quotes:
```bash
Expand Down
Loading