rust-nix-template/justfile

14 lines
249 B
Makefile
Raw Normal View History

2023-07-23 16:10:10 +02:00
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}}"