mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-15 09:02:40 +02:00
feat: add templates for bevy
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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}}"
|
||||
Reference in New Issue
Block a user