Skip to content

feat: add justfile with help target - #2389

Open
ayomidearegbeshola29-dev wants to merge 1 commit into
QuickLendX:mainfrom
ayomidearegbeshola29-dev:feat/justfile-help
Open

feat: add justfile with help target#2389
ayomidearegbeshola29-dev wants to merge 1 commit into
QuickLendX:mainfrom
ayomidearegbeshola29-dev:feat/justfile-help

Conversation

@ayomidearegbeshola29-dev

Copy link
Copy Markdown

Summary

Adds a justfile with a help target (the default recipe) that lists all available development commands for both the Soroban contracts and the Next.js frontend.

Changes

New file: justfile with recipes:

Recipe Description
help (default) List all recipes
build Build Soroban contracts to WASM
test Run contract tests
fuzz [level] Run fuzz tests (quick/standard/extended/thorough)
check-wasm Enforce 256 KB WASM size budget
clippy Clippy lint with deny warnings
fmt / fmt-check Format / check formatting
frontend-* Install, dev, build, lint, typecheck frontend
check Combined: fmt-check + clippy + tests + WASM + frontend

Usage

$ just
Available recipes:
    build             # Build all Soroban contracts
    check             # Run all checks (format, clippy, tests, WASM size, frontend lint + typecheck)
    check-wasm        # Check WASM binary size (256 KB budget)
    clippy            # Clippy lint (deny warnings)
    fmt               # Format all code
    fmt-check         # Check formatting without writing
    frontend-build    # Production build (includes type checks)
    frontend-dev      # Start local dev server
    frontend-install  # Install frontend dependencies
    frontend-lint     # Lint frontend
    frontend-typecheck # Type-check frontend
    fuzz              # Run fuzz tests (quick | standard | extended | thorough)
    help              # List available recipes
    test              # Run contract tests

closes #2187

Add a justfile documenting all build, test, and development commands
for both the Soroban contracts and the Next.js frontend. Running
`just` or `just help` lists every available recipe.

Recipes include: build, test, fuzz, check-wasm, clippy, fmt,
fmt-check, frontend-install, frontend-dev, frontend-build,
frontend-lint, frontend-typecheck, and a combined 'check' target
that runs all validations.

Closes QuickLendX#2187
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DX: add a justfile help target

1 participant