Add default list recipies, add comments, remove run recipe
This commit is contained in:
14
justfile
14
justfile
@ -1,19 +1,29 @@
|
||||
#!/usr/bin/env just --justfile
|
||||
|
||||
run:
|
||||
cargo run
|
||||
# List all recipes
|
||||
default:
|
||||
@just --list
|
||||
|
||||
# Open a nix shell with all dependencies in path
|
||||
develop:
|
||||
nix develop
|
||||
|
||||
# Format all rust files
|
||||
fmt:
|
||||
cargo fmt --all
|
||||
|
||||
# Lint all files with clippy
|
||||
lint:
|
||||
cargo clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
# Build a release version
|
||||
release:
|
||||
cargo build --release
|
||||
|
||||
# Run all tests
|
||||
test:
|
||||
cargo test --all-features --workspace
|
||||
|
||||
# Run coverage
|
||||
coverage:
|
||||
cargo llvm-cov
|
||||
|
Reference in New Issue
Block a user