DSL Overview (version = "0.5")
Use this page for DSL shape. Use DSL Reference Table for factual field constraints.
Core shape:
version = "0.5"
alias b = build
build [target] [mode="release"]: deps...
@in ...
@out ...
@env KEY=value
@secret_env TOKEN
@dir apps/api
@requires cargo
@mode graph
@isolation off
run command
Execution inference rules
- task with declared
@outdefaults to graph behavior - task without
@outdefaults to interactive behavior - explicit
@modecan override inference
Minimal high-signal patterns
Graph task pattern
build:
@in src/**/* Cargo.toml
@out target/release
cargo build --release
Interactive task pattern
dev:
@mode interactive
npm run dev