feat: add templates for bevy

This commit is contained in:
Ryan Yin
2024-09-18 20:25:35 +08:00
parent 7438aa04ea
commit aa9c1a4829
2 changed files with 71 additions and 0 deletions
+17
View File
@@ -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}}"