This repository has been archived on 2026-10-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
maestro/Justfile
T
naps62-yolo 53660407e3
ci / web (push) Successful in 28s
ci / rust (push) Successful in 2m34s
feat(maestro): add a process-compose dev stack (#52)
2026-08-23 10:02:09 +01:00

35 lines
980 B
Makefile

# Common dev / build entry points. Run `just` with no args to list.
# Run the full local stack — daemon on 127.0.0.1:7071 plus Vite on :5173,
# ordered and health-gated by process-compose. Ctrl-C stops everything.
dev:
nix run .#dev
# Build the maestro-web binary together with the SPA bundle it embeds.
web:
pnpm -C web install --frozen-lockfile
pnpm -C web build
cargo build -p maestro-web --release
# Run the web bundle in dev mode against a local daemon — Vite serves the
# frontend with HMR, and `/api/*` is proxied directly to the daemon at
# 127.0.0.1:7070 (see vite.config.ts).
web-dev:
pnpm -C web install
pnpm -C web dev
# Typecheck the frontend without building.
web-typecheck:
pnpm -C web install --frozen-lockfile
pnpm -C web typecheck
# Full workspace build + tests.
test:
cargo fmt --all -- --check
cargo clippy --all-targets -- -D warnings
cargo test --all
# Format every Rust source.
fmt:
cargo fmt --all