21 lines
356 B
Makefile
21 lines
356 B
Makefile
default:
|
|
@just --list
|
|
|
|
# Auto-format the source tree
|
|
fmt:
|
|
treefmt
|
|
|
|
# Run 'cargo run' on the project
|
|
run *ARGS:
|
|
cargo run {{ARGS}}
|
|
|
|
head-node *ARGS:
|
|
cargo run --bin head-node
|
|
|
|
worker-node *ARGS:
|
|
cargo run --bin worker-node
|
|
|
|
# Run 'cargo watch' to run the project (auto-recompiles)
|
|
watch *ARGS:
|
|
cargo watch -x "run -- {{ARGS}}"
|