mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-21 00:21:27 +00:00
Keep project config and checked-in workflows under .fabro so they stay out of normal repo listings. Update config discovery, CLI project commands, fixtures, docs, and checked-in workflow paths to use .fabro/project.toml and .fabro/workflows/*.
22 lines
1.3 KiB
Text
22 lines
1.3 KiB
Text
digraph Smoke {
|
|
graph [goal="Verify the sandbox can lint and test the project", retry_target=exit]
|
|
rankdir=LR
|
|
|
|
start [shape=Mdiamond, label="Start"]
|
|
exit [shape=Msquare, label="Exit"]
|
|
|
|
toolchain [label="Toolchain", shape=parallelogram, script="rustc --version && cargo --version && bun --version 2>&1", goal_gate=true]
|
|
compile_rust [label="Compile Rust", shape=parallelogram, script="cargo check -q --workspace 2>&1", goal_gate=true]
|
|
compile_typescript [label="Compile TypeScript", shape=parallelogram, script="cd apps/fabro-web && bun install && bun run typecheck 2>&1", goal_gate=true]
|
|
lint_rust [label="Lint Rust", shape=parallelogram, script="cargo +nightly fmt --check --all 2>&1 && cargo clippy -q --workspace -- -D warnings 2>&1", goal_gate=true]
|
|
test_rust [label="Test Rust", shape=parallelogram, script="ulimit -n 4096 && cargo nextest run --cargo-quiet --workspace --status-level fail 2>&1", goal_gate=true]
|
|
test_typescript [label="Test TypeScript", shape=parallelogram, script="cd apps/fabro-web && bun test 2>&1", goal_gate=true]
|
|
|
|
start -> toolchain
|
|
toolchain -> compile_rust
|
|
compile_rust -> compile_typescript
|
|
compile_typescript -> lint_rust
|
|
lint_rust -> test_rust
|
|
test_rust -> test_typescript
|
|
test_typescript -> exit
|
|
}
|