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