mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 20:40:24 +01:00
18 lines
310 B
Makefile
18 lines
310 B
Makefile
default:
|
|
@just --list
|
|
|
|
# Auto-format the source tree
|
|
fmt:
|
|
treefmt
|
|
|
|
# Run 'cargo run' on the project
|
|
drun *ARGS:
|
|
nix develop --command cargo run {{ARGS}}
|
|
|
|
dbuild:
|
|
nix develop --command cargo build
|
|
|
|
# Run 'cargo watch' to run the project (auto-recompiles)
|
|
watch *ARGS:
|
|
cargo watch -x "run -- {{ARGS}}"
|